Add directory resources to puppetdb module
I think that the puppetdb module expects the package to do this work, and that's why it doesn't do this for us. There may also be an issue with the puppetdb module setting up a config file under /etc and the puppetdb application looking for a config file under /opt/puppetlabs Change-Id: Ide2b3a5841ac07fd7e154e8d26ce0b036f734a41
This commit is contained in:
parent
03a687ee2d
commit
1d540a2ecb
@ -39,6 +39,14 @@ class openstack_project::puppetdb (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if versioncmp($version, '2.3.8') > 0 {
|
if versioncmp($version, '2.3.8') > 0 {
|
||||||
|
file { '/etc/puppetdb/':
|
||||||
|
ensure => directory,
|
||||||
|
before => Class['::puppetdb::server'],
|
||||||
|
}
|
||||||
|
file { '/etc/puppetdb/conf.d/':
|
||||||
|
ensure => directory,
|
||||||
|
before => Class['::puppetdb::server'],
|
||||||
|
}
|
||||||
apt::source { 'puppetlabs-pc1':
|
apt::source { 'puppetlabs-pc1':
|
||||||
location => 'http://apt.puppetlabs.com',
|
location => 'http://apt.puppetlabs.com',
|
||||||
repos => 'PC1',
|
repos => 'PC1',
|
||||||
|
Loading…
Reference in New Issue
Block a user