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:
Drew Fisher
2015-10-15 16:30:56 -06:00
parent 7e60d0b1c2
commit d9eaed5be4
2 changed files with 0 additions and 6 deletions

View File

@@ -448,9 +448,6 @@ class nova(
}
file { '/etc/nova/nova.conf':
mode => '0640',
owner => 'nova',
group => 'nova',
require => Package['nova-common'],
}

View File

@@ -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