From: Paul Wise Date: Thu, 18 Jun 2015 06:28:35 +0000 (+0800) Subject: Add an exec for systemd-tmpfiles X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=9e351e33df29623ac787a2b35b1276446dccca5e;p=mirror%2Fdsa-puppet.git Add an exec for systemd-tmpfiles --- diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 9c5b7f1fb..7e91207fd 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -362,6 +362,11 @@ class debian-org { onlyif => "test -x /bin/systemctl" } + exec { 'systemd-tmpfiles --create --exclude-prefix=/dev': + refreshonly => true, + onlyif => "test -x /bin/systemd-tmpfiles" + } + tidy { '/var/lib/puppet/clientbucket/': age => '2w', recurse => 9,