Skip to content

Commit

Permalink
Fix nologin shell path on Debian
Browse files Browse the repository at this point in the history
We don't use /usr/sbin/nologin which works on Debian but breaks EL6.
  • Loading branch information
sathieu committed Apr 22, 2014
1 parent b312440 commit 59c90d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

user { $foreman_proxy::user:
ensure => 'present',
shell => '/sbin/nologin',
shell => '/bin/false',
comment => 'Foreman Proxy account',
groups => $groups,
home => $foreman_proxy::dir,
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/foreman_proxy__config__spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
it 'should create the foreman-proxy user' do
should contain_user('foreman-proxy').with({
:ensure => 'present',
:shell => '/sbin/nologin',
:shell => '/bin/false',
:comment => 'Foreman Proxy account',
:groups => ['puppet'],
:home => '/usr/share/foreman-proxy',
Expand Down

0 comments on commit 59c90d4

Please sign in to comment.