diff options
author | Damien Lallement <dams@mageia.org> | 2011-01-18 16:31:36 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2011-01-18 16:31:36 +0000 |
commit | 02d7e04e43aa5032c113728d087c12cb50a580e8 (patch) | |
tree | d7fe5573309ff21470fc0a1c18bd06a9cc62bf49 | |
parent | 43c5580e6f735aef097244c4f6c6061bad5bf47b (diff) | |
download | puppet-02d7e04e43aa5032c113728d087c12cb50a580e8.tar puppet-02d7e04e43aa5032c113728d087c12cb50a580e8.tar.gz puppet-02d7e04e43aa5032c113728d087c12cb50a580e8.tar.bz2 puppet-02d7e04e43aa5032c113728d087c12cb50a580e8.tar.xz puppet-02d7e04e43aa5032c113728d087c12cb50a580e8.zip |
start the migration of blogs on champagne
-rw-r--r-- | modules/blog/manifests/init.pp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp index 2ada31ca..2318b3cf 100644 --- a/modules/blog/manifests/init.pp +++ b/modules/blog/manifests/init.pp @@ -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 @@ class blog { 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', |