Revision dcb8a702
Added by Mathieu Parent about 10 years ago
manifests/config.pp | ||
---|---|---|
|
||
user { $foreman::user:
|
||
ensure => 'present',
|
||
shell => '/sbin/nologin',
|
||
shell => '/bin/false',
|
||
comment => 'Foreman',
|
||
home => $foreman::app_root,
|
||
gid => $foreman::group,
|
spec/classes/foreman_config_spec.rb | ||
---|---|---|
|
||
it { should contain_user('foreman').with({
|
||
'ensure' => 'present',
|
||
'shell' => '/sbin/nologin',
|
||
'shell' => '/bin/false',
|
||
'comment' => 'Foreman',
|
||
'gid' => 'foreman',
|
||
'groups' => ['puppet'],
|
||
... | ... | |
|
||
it { should contain_user('foreman').with({
|
||
'ensure' => 'present',
|
||
'shell' => '/sbin/nologin',
|
||
'shell' => '/bin/false',
|
||
'comment' => 'Foreman',
|
||
'gid' => 'foreman',
|
||
'groups' => ['puppet'],
|
Also available in: Unified diff
Fix nologin shell path on Debian
We don't use /usr/sbin/nologin which works on Debian but breaks EL6.