Add an exec for systemd-tmpfiles
[mirror/dsa-puppet.git] / 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,