summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-25 18:10:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-25 18:10:33 -0200
commit5c0d9d69fdcf724553a570b05b31019948704f88 (patch)
tree420afa0b554aaac0a7059c3b21f389b92ec9ead4 /manifests
downloadpuppet-cron-5c0d9d69fdcf724553a570b05b31019948704f88.tar.gz
puppet-cron-5c0d9d69fdcf724553a570b05b31019948704f88.tar.bz2
Initial import
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
new file mode 100644
index 0000000..7d89b04
--- /dev/null
+++ b/manifests/init.pp
@@ -0,0 +1,12 @@
+class cron {
+ package{ 'cron':
+ ensure => present,
+ }
+
+ service{ 'cron':
+ ensure => running,
+ enable => true,
+ hasstatus => true,
+ require => Package['cron'],
+ }
+}