aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/security/gui.pp
blob: f5a060057a7d52b6be527a51dc2ba21613383f2e (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 { [
    'revelation',
    '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',
  ]:
    ensure => absent,
  }
}