Use force when purging
* modules/asterisk/manifests/init.pp * modules/jenkins/manifests/master.pp * modules/jenkins/manifests/slave.pp * modules/openstack_project/manifests/gerrit.pp * modules/openstack_project/manifests/jenkins.pp * modules/openstack_project/manifests/nodepool.pp * modules/openstack_project/manifests/static.pp: When a directory is puppet-managed for content using recurse, replace and purge you also need force or empty subdirectories will fail to be removed. What's worse, subscribing to that directory will cause a refresh to be triggered for it on every agent run. Change-Id: I232d6ba98475522f391f469c194a4450c7a0b2e1
This commit is contained in:
parent
019abe5a04
commit
8b731d140e
@ -91,6 +91,7 @@ class asterisk (
|
||||
ensure => present,
|
||||
recurse => true,
|
||||
purge => true,
|
||||
force => true,
|
||||
owner => 'asterisk',
|
||||
group => 'asterisk',
|
||||
mode => '0660',
|
||||
|
Loading…
x
Reference in New Issue
Block a user