Merge pull request #38 from bodepd/fix_cinder_paste_conf_permissions
update permission of paste config to 600
This commit is contained in:
commit
65f91d468f
@ -37,7 +37,9 @@ class cinder::base (
|
|||||||
mode => '0600',
|
mode => '0600',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { $::cinder::params::cinder_paste_api_ini: }
|
file { $::cinder::params::cinder_paste_api_ini:
|
||||||
|
mode => '0600',
|
||||||
|
}
|
||||||
|
|
||||||
# Temporary fixes
|
# Temporary fixes
|
||||||
file { ['/var/log/cinder', '/var/lib/cinder']:
|
file { ['/var/log/cinder', '/var/lib/cinder']:
|
||||||
|
@ -40,5 +40,13 @@ describe 'cinder::base' do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it { should contain_file('/etc/cinder/cinder.conf').with(
|
||||||
|
:mode => '0600'
|
||||||
|
) }
|
||||||
|
|
||||||
|
it { should contain_file('/etc/cinder/api-paste.ini').with(
|
||||||
|
:mode => '0600'
|
||||||
|
) }
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user