Merge "Manage hiera.yaml on all hosts"
This commit is contained in:
commit
7ff013f6ae
@ -69,16 +69,6 @@ class openstack_project::puppetmaster (
|
|||||||
environment => 'PATH=/var/lib/gems/1.8/bin:/usr/bin:/bin:/usr/sbin:/sbin',
|
environment => 'PATH=/var/lib/gems/1.8/bin:/usr/bin:/bin:/usr/sbin:/sbin',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/puppet/hiera.yaml':
|
|
||||||
ensure => present,
|
|
||||||
owner => 'root',
|
|
||||||
group => 'root',
|
|
||||||
mode => '0555',
|
|
||||||
source => 'puppet:///modules/openstack_project/puppetmaster/hiera.yaml',
|
|
||||||
replace => true,
|
|
||||||
require => Class['openstack_project::server'],
|
|
||||||
}
|
|
||||||
|
|
||||||
file { '/var/lib/puppet/reports':
|
file { '/var/lib/puppet/reports':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'puppet',
|
owner => 'puppet',
|
||||||
|
@ -405,6 +405,15 @@ class openstack_project::template (
|
|||||||
service { 'puppet':
|
service { 'puppet':
|
||||||
ensure => stopped,
|
ensure => stopped,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { '/etc/puppet/hiera.yaml':
|
||||||
|
ensure => present,
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
mode => '0555',
|
||||||
|
source => 'puppet:///modules/openstack_project/puppet/hiera.yaml',
|
||||||
|
replace => true,
|
||||||
|
}
|
||||||
###########################################################
|
###########################################################
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user