Project

General

Profile

« Previous | Next » 

Revision 59c90d47

Added by Mathieu Parent about 10 years ago

Fix nologin shell path on Debian

We don't use /usr/sbin/nologin which works on Debian but breaks EL6.

View differences:

spec/classes/foreman_proxy__config__spec.rb
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',

Also available in: Unified diff