Fix ejabberd user for Ubuntu.
This commit is contained in:
parent
a06fc4bb49
commit
32956c0d26
1 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,10 @@ class user::system {
|
||||||
gid => 802,
|
gid => 802,
|
||||||
comment => "Service Jabber",
|
comment => "Service Jabber",
|
||||||
home => "/var/lib/ejabberd",
|
home => "/var/lib/ejabberd",
|
||||||
shell => "/sbin/nologin",
|
shell => $operatingsystem ? {
|
||||||
|
"ubuntu" => "/bin/sh",
|
||||||
|
default => "/sbin/nologin",
|
||||||
|
},
|
||||||
require => Group["ejabberd"],
|
require => Group["ejabberd"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue