Ensure puppet.conf is set up properly.

Change-Id: I367c4b0421596630aa1412eba575e87d8e9def19
This commit is contained in:
Monty Taylor 2012-07-23 19:49:36 -05:00
parent 15493f562e
commit 1966771caf

View File

@ -39,4 +39,13 @@ class openstack_project::base {
onlyif => "/usr/bin/test ! -f /etc/apt/sources.list.d/puppetlabs.list",
require => Exec["download:puppetlabs-release-${lsbdistcodename}.deb"],
}
file { '/etc/puppet/puppet.conf':
owner => 'root',
group => 'root',
mode => 444,
ensure => 'present',
content => template('openstack_project/puppet.conf.erb'),
replace => 'true',
}
}