diff --git a/modules/jenkins/manifests/master.pp b/modules/jenkins/manifests/master.pp index 9497b17610..1f0728ce8e 100644 --- a/modules/jenkins/manifests/master.pp +++ b/modules/jenkins/manifests/master.pp @@ -216,6 +216,7 @@ class jenkins::master( group => 'root', mode => '0755', recurse => true, + purge => true, require => File['/usr/local/jenkins'], source => 'puppet:///modules/jenkins/slave_scripts', } diff --git a/modules/jenkins/manifests/slave.pp b/modules/jenkins/manifests/slave.pp index 44f55fd8a5..7e1e13a690 100644 --- a/modules/jenkins/manifests/slave.pp +++ b/modules/jenkins/manifests/slave.pp @@ -294,6 +294,7 @@ class jenkins::slave( group => 'root', mode => '0755', recurse => true, + purge => true, require => File['/usr/local/jenkins'], source => 'puppet:///modules/jenkins/slave_scripts', } diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index b7189beb9c..04d4b02fe7 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -325,6 +325,7 @@ class openstack_project::gerrit ( mode => '0444', recurse => true, replace => true, + purge => true, source => 'puppet:///modules/openstack_project/gerrit/acls', require => Class['::gerrit'] } diff --git a/modules/openstack_project/manifests/nodepool.pp b/modules/openstack_project/manifests/nodepool.pp index aa140ce134..b287596c5d 100644 --- a/modules/openstack_project/manifests/nodepool.pp +++ b/modules/openstack_project/manifests/nodepool.pp @@ -48,6 +48,7 @@ class openstack_project::nodepool( group => 'root', mode => '0755', recurse => true, + purge => true, require => File['/etc/nodepool'], source => 'puppet:///modules/openstack_project/nodepool/scripts', } diff --git a/modules/openstack_project/manifests/static.pp b/modules/openstack_project/manifests/static.pp index c4d766b45a..522cbed644 100644 --- a/modules/openstack_project/manifests/static.pp +++ b/modules/openstack_project/manifests/static.pp @@ -134,6 +134,7 @@ class openstack_project::static ( file { '/srv/static/logs/help': ensure => directory, recurse => true, + purge => true, owner => 'root', group => 'root', mode => '0755',