Add an exec for systemd-tmpfiles
authorPaul Wise <pabs@debian.org>
Thu, 18 Jun 2015 06:28:35 +0000 (14:28 +0800)
committerPaul Wise <pabs@debian.org>
Thu, 18 Jun 2015 06:28:35 +0000 (14:28 +0800)
modules/debian-org/manifests/init.pp

index 9c5b7f1..7e91207 100644 (file)
@@ -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,