Remove POSIX users, groups, and file modes.
This patch removes the File resources of nova.conf for mode, user and group which should be delivered by packaging tools. These resources (mode, user, and group attributes) could be in conflict with different OS packaging systems which isn't a desired result. Change-Id: I4fac32742dc317b16a6af825ad7095f0d94f3e57 Closes-Bug: #1458915
This commit is contained in:
@@ -448,9 +448,6 @@ class nova(
|
||||
}
|
||||
|
||||
file { '/etc/nova/nova.conf':
|
||||
mode => '0640',
|
||||
owner => 'nova',
|
||||
group => 'nova',
|
||||
require => Package['nova-common'],
|
||||
}
|
||||
|
||||
|
@@ -28,9 +28,6 @@ describe 'nova' do
|
||||
|
||||
it 'creates various files and folders' do
|
||||
is_expected.to contain_file('/etc/nova/nova.conf').with(
|
||||
:mode => '0640',
|
||||
:owner => 'nova',
|
||||
:group => 'nova',
|
||||
:require => 'Package[nova-common]'
|
||||
)
|
||||
end
|
||||
|
Reference in New Issue
Block a user