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.adam-barratt.org.uk/?a=commitdiff_plain;h=c9560a12bfb07090e05851acd26d904819cef02b;p=mirror%2Fdsa-puppet.git Install libpam-systemd on systemd hosts --- diff --git a/modules/ssh/manifests/init.pp b/modules/ssh/manifests/init.pp index 8e61da64c..d86093ef3 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 + } + } } }