From 47ca5131d7e63f8e0bddde7dc93f75a7e03e3bf2 Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Mon, 7 Mar 2011 17:37:39 +0000 Subject: enable crontab for checking new blog post --- modules/blog/manifests/init.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/blog') diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp index a65941a6..d3640638 100644 --- a/modules/blog/manifests/init.pp +++ b/modules/blog/manifests/init.pp @@ -24,12 +24,12 @@ class blog { content => template("blog/check_new-blog-post.sh") } - #cron { blog: - # user => blog, - # minute => '*/15', - # command => "/usr/local/bin/check_new-blog-post.sh", - # require => [File["check_new-blog-post"], User['blog']], - #} + cron { blog: + user => blog, + minute => '*/15', + command => "/usr/local/bin/check_new-blog-post.sh", + require => [File["check_new-blog-post"], User['blog']], + } include apache::mod_php -- cgit v1.2.1