diff --git a/user/manifests/init.pp b/user/manifests/init.pp index 1f7c628..895e46c 100644 --- a/user/manifests/init.pp +++ b/user/manifests/init.pp @@ -59,7 +59,10 @@ class user::system { gid => 802, comment => "Service Jabber", home => "/var/lib/ejabberd", - shell => "/sbin/nologin", + shell => $operatingsystem ? { + "ubuntu" => "/bin/sh", + default => "/sbin/nologin", + }, require => Group["ejabberd"], }