Ensure reports directory is setup correctly.

Packages install it with mode 0755 which then fails to chmod in the
webservice, so lets set it up from within puppet itself while we are
privileged.

Fixes bug: 1218697

Change-Id: I3a005ab2495502047fc8b18e385b421a9afc35d4
This commit is contained in:
Robert Collins 2013-08-30 14:36:08 +12:00
parent f6fe43fc0e
commit f9461e446a

View File

@ -35,6 +35,13 @@ class openstack_project::puppetmaster (
require => Class['openstack_project::server'],
}
file { '/var/lib/puppet/reports':
ensure => directory,
owner => 'puppet',
group => 'puppet',
mode => '0750',
}
# For launch/launch-node.py.
package { ['python-cinderclient', 'python-novaclient']:
ensure => latest,