]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ssh/manifests/init.pp
Install libpam-systemd on systemd hosts
[dsa-puppet.git] / 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
+                       }
+               }
        }
 }