Revision c0bc540d
Added by Greg Petras over 9 years ago
spec/classes/init_spec.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
context 'on RedHat with root set to /tftpboot' do
|
||
let :facts do {
|
||
:osfamily => 'Redhat',
|
||
:operatingsystemrelease => '6.4',
|
||
} end
|
||
|
||
let :params do {
|
||
:root => '/tftpboot',
|
||
} end
|
||
|
||
it 'should set root to non-default value in xinetd config' do
|
||
should contain_xinetd__service('tftp').with({
|
||
:server_args => '-v -s /tftpboot -m /etc/tftpd.map',
|
||
})
|
||
end
|
||
end
|
||
|
||
context 'on unsupported Linux operatingsystem' do
|
||
let :facts do
|
||
{
|
Also available in: Unified diff
fixes #8942 - ability to override tftp root parameter