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, } }