]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/base_installation/manifests/cronie.pp
Fix regsubst pattern
[perso/Immae/Projets/Puppet.git] / modules / base_installation / manifests / cronie.pp
index 918bce3373af309300c3d62de427fa929a97e33b..4df0e37de3e09f764fbc4c200f957949365f89a2 100644 (file)
@@ -23,5 +23,11 @@ class base_installation::cronie inherits base_installation {
       user    => root,
       minute  => '*/20'
     }
+    cron { 'puppet-apply-reboot':
+      ensure  => present,
+      command => "cd $base_installation::puppet_code_path ; puppet apply --test $base_installation::puppet_code_path/manifests/site.pp",
+      user    => root,
+      special => "reboot"
+    }
   }
 }