[Mageia-sysadm] [829] start the migration of blogs on champagne

root at mageia.org root at mageia.org
Tue Jan 18 17:31:36 CET 2011


Revision: 829
Author:   dams
Date:     2011-01-18 17:31:36 +0100 (Tue, 18 Jan 2011)
Log Message:
-----------
start the migration of blogs on champagne

Modified Paths:
--------------
    puppet/modules/blog/manifests/init.pp

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',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110118/b800dab1/attachment-0001.html>


More information about the Mageia-sysadm mailing list