aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-08-23 14:23:57 +0000
committerMichael Scherer <misc@mageia.org>2011-08-23 14:23:57 +0000
commit581efcd3ef165c470c5fcc9eb2db9a9bfd164ff1 (patch)
treeb080bdde608cd216a046e9ecf497ba9cf1ee3b3e
parent72719e240f6a982f63d49ec7c09bde1db34d7c1f (diff)
downloadpuppet-581efcd3ef165c470c5fcc9eb2db9a9bfd164ff1.tar
puppet-581efcd3ef165c470c5fcc9eb2db9a9bfd164ff1.tar.gz
puppet-581efcd3ef165c470c5fcc9eb2db9a9bfd164ff1.tar.bz2
puppet-581efcd3ef165c470c5fcc9eb2db9a9bfd164ff1.tar.xz
puppet-581efcd3ef165c470c5fcc9eb2db9a9bfd164ff1.zip
add a cronjob to make sure cronie is started on all nodes
-rw-r--r--modules/cron/manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/cron/manifests/init.pp b/modules/cron/manifests/init.pp
new file mode 100644
index 00000000..4fcf5d17
--- /dev/null
+++ b/modules/cron/manifests/init.pp
@@ -0,0 +1,8 @@
+class cron {
+ package { "cronie": }
+
+ service { crond:
+ ensure => running,
+ subscribe => [ Package["cronie"] ]
+ }
+}