aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/security/gui.pp
blob: 30d82a64fec9b7764fe1473d9b51f0b897343a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class nodo::utils::security::gui (
  $ensure = 'installed',
) {
  package { [
    'keepassxc',
    'pinentry-gtk2',
    'otpclient',
    'otpclient-cli',
  ]:
    ensure => $ensure,
  }

  # Pinentry alternative
  file { [ '/etc/alternatives/pinentry', '/etc/alternatives/pinentry-x11' ]:
    ensure  => '/usr/bin/pinentry-gtk-2',
    owner   => root,
    group   => root,
    require => Package['pinentry-gtk2'],
  }

  # Not in use
  # https://superuser.com/questions/878902/whats-the-difference-between-keepass-and-keepassx
  # https://askubuntu.com/questions/1011431/keepassx-vs-keepassxc
  package { [
    'keepassx',
    'revelation',
  ]:
    ensure => absent,
  }
}