/[adm]/puppet/modules/blog/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/blog/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 746 by misc, Sun Jan 9 11:15:13 2011 UTC revision 829 by dams, Tue Jan 18 16:31:36 2011 UTC
# Line 1  Line 1 
1  #TODO:  #TODO:
2  # - add the creation of the user 'blog' in puppet  # - add the creation of the user 'blog' in puppet
3  class blog {  class blog {
4      include apache::mod_php          include apache::mod_php
5      include mysql      include mysql
6    
7      package { ['wget','php-mysql']:      package { ['wget','php-mysql']:
8          ensure => installed          ensure => installed
9      }      }
10    
   
11          file { "check_new-blog-post":          file { "check_new-blog-post":
12          path => "/usr/local/bin/check_new-blog-post.sh",          path => "/usr/local/bin/check_new-blog-post.sh",
13          ensure => present,          ensure => present,
# Line 24  class blog { Line 23  class blog {
23          group => blog,          group => blog,
24          mode => 644,          mode => 644,
25      }      }
26        
27        file { "/var/www/html/blog.mageia.org":
28            ensure => directory,
29            owner => blog,
30            group => apache,
31            mode => 644,
32        }
33        
34      cron { blog:      cron { blog:
35          user => blog,          user => blog,
36          minute => '*/15',          minute => '*/15',

Legend:
Removed from v.746  
changed lines
  Added in v.829

  ViewVC Help
Powered by ViewVC 1.1.30