From: Peter Palfrader Date: Thu, 17 Sep 2015 15:54:51 +0000 (+0200) Subject: Install libpam-systemd on systemd hosts X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=c9560a12bfb07090e05851acd26d904819cef02b Install libpam-systemd on systemd hosts --- diff --git a/modules/ssh/manifests/init.pp b/modules/ssh/manifests/init.pp index 8e61da64..d86093ef 100644 --- a/modules/ssh/manifests/init.pp +++ b/modules/ssh/manifests/init.pp @@ -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 + } + } } }