Parent Directory | Revision Log | Patch
revision 839 by boklm, Tue Jan 18 17:49:20 2011 UTC | revision 852 by dams, Tue Jan 18 22:47:43 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 | # - add the user 'blog' to the 'apache' group (usermod -a -G apache blog) | |
4 | class blog { | class blog { |
5 | include apache::mod_php | include apache::mod_php |
6 | include mysql | include mysql |
7 | ||
8 | package { ['wget','php-mysql']: | package { ['wget','mod_rewrite','php-mysql']: |
9 | ensure => installed | ensure => installed |
10 | } | } |
11 | ||
# | Line 23 class blog { | Line 24 class blog { |
24 | ||
25 | file { "/var/lib/blog": | file { "/var/lib/blog": |
26 | ensure => directory, | ensure => directory, |
27 | owner => blog, | owner => apache, |
28 | group => blog, | group => blog, |
29 | mode => 644, | mode => 644, |
30 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.30 |