]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Set pinentry alternative at nodo::utils::security::gui
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 13 May 2019 11:32:23 +0000 (08:32 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 13 May 2019 11:32:23 +0000 (08:32 -0300)
manifests/utils/security/gui.pp

index b263d49c239813985f29f04ed529c9a751437cd3..9a8f033d83e6f516a27e4b67160beb113d21eead 100644 (file)
@@ -9,6 +9,13 @@ class nodo::utils::security::gui (
     ensure => $ensure,
   }
 
+  # Pinentry alternative
+  file { [ '/etc/alternatives/pinentry', '/etc/alternatives/pinentry-x11' ]:
+    ensure  => '/usr/bin/pinentry-gtk-2',
+    owner   => root,
+    group   => root,
+  }
+
   # Not in use
   # https://superuser.com/questions/878902/whats-the-difference-between-keepass-and-keepassx
   # https://askubuntu.com/questions/1011431/keepassx-vs-keepassxc