From c9560a12bfb07090e05851acd26d904819cef02b Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 17 Sep 2015 17:54:51 +0200 Subject: [PATCH] Install libpam-systemd on systemd hosts --- modules/ssh/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) 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 + } + } } } -- 2.39.2