aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/security/gui.pp
blob: 617922dbefab493cbb23ced35010b2b8d80ac006 (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
class nodo::utils::security::gui (
  $ensure = 'installed',
) {
  package { [
    'keepassxc',
    'pinentry-gtk2',
  ]:
    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,
  }
}