]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Install libpam-systemd on systemd hosts
authorPeter Palfrader <peter@palfrader.org>
Thu, 17 Sep 2015 15:54:51 +0000 (17:54 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 17 Sep 2015 15:54:51 +0000 (17:54 +0200)
modules/ssh/manifests/init.pp

index 8e61da64c8bc6109a47950295b6be7803614bd7e..d86093ef347e658258c5861f266af8de9c2966e8 100644 (file)
@@ -43,5 +43,11 @@ class ssh {
                                command => 'ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -q -P "" -t ed25519',
                        }
                }
+
+               if $systemd {
+                       package { [ 'libpam-systemd' ]:
+                               ensure => installed
+                       }
+               }
        }
 }