Ensure puppet.conf is set up properly.
Change-Id: I367c4b0421596630aa1412eba575e87d8e9def19
This commit is contained in:
parent
15493f562e
commit
1966771caf
@ -39,4 +39,13 @@ class openstack_project::base {
|
|||||||
onlyif => "/usr/bin/test ! -f /etc/apt/sources.list.d/puppetlabs.list",
|
onlyif => "/usr/bin/test ! -f /etc/apt/sources.list.d/puppetlabs.list",
|
||||||
require => Exec["download:puppetlabs-release-${lsbdistcodename}.deb"],
|
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',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user