Purge the JJB config dir.

Use the purge File resource option on the JJB config dir so that renamed
and deleted files are removed from the JJB configs. This is necessary to
prevent bitrot over time.

Change-Id: I4cfb91dde05c26102d0ab44952d0c1df2006727f
This commit is contained in:
Clark Boylan 2013-12-02 13:22:56 -08:00
parent b350d56976
commit cd84e2ed92

View File

@ -151,6 +151,7 @@ class openstack_project::jenkins (
group => 'root',
mode => '0755',
recurse => true,
purge => true,
source =>
'puppet:///modules/openstack_project/jenkins_job_builder/config',
notify => Exec['jenkins_jobs_update'],