From d9eaed5be4bd07f3b0be27fc6a26f491aec31c62 Mon Sep 17 00:00:00 2001 From: Drew Fisher Date: Thu, 15 Oct 2015 16:30:56 -0600 Subject: [PATCH] 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 --- manifests/init.pp | 3 --- spec/classes/nova_init_spec.rb | 3 --- 2 files changed, 6 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 125a6d680..195b1854c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -448,9 +448,6 @@ class nova( } file { '/etc/nova/nova.conf': - mode => '0640', - owner => 'nova', - group => 'nova', require => Package['nova-common'], } diff --git a/spec/classes/nova_init_spec.rb b/spec/classes/nova_init_spec.rb index a536c4a34..15edb772c 100644 --- a/spec/classes/nova_init_spec.rb +++ b/spec/classes/nova_init_spec.rb @@ -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