Modified: puppet/modules/blog/manifests/init.pp
===================================================================
--- puppet/modules/blog/manifests/init.pp 2011-01-18 15:10:30 UTC (rev 828)
+++ puppet/modules/blog/manifests/init.pp 2011-01-18 16:31:36 UTC (rev 829)
@@ -1,14 +1,13 @@
#TODO:
# - add the creation of the user 'blog' in puppet
class blog {
- include apache::mod_php
+ include apache::mod_php
include mysql
package { ['wget','php-mysql']:
ensure => installed
}
-
file { "check_new-blog-post":
path => "/usr/local/bin/check_new-blog-post.sh",
ensure => present,
@@ -24,7 +23,14 @@
group => blog,
mode => 644,
}
-
+
+ file { "/var/www/html/blog.mageia.org":
+ ensure => directory,
+ owner => blog,
+ group => apache,
+ mode => 644,
+ }
+
cron { blog:
user => blog,
minute => '*/15',