/[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 147 by dams, Fri Nov 5 15:29:35 2010 UTC revision 148 by dams, Fri Nov 5 15:39:56 2010 UTC
# Line 1  Line 1 
1  #TODO: add the creation of the user 'blog' in puppet  #TODO:
2    # - add the creation of the user 'blog' in puppet
3  class blog {  class blog {
4          package { 'wget':          package { 'wget':
5                  ensure => installed                  ensure => installed
# Line 14  class blog { Line 15  class blog {
15                  mode => 755,                  mode => 755,
16                  content => template("blog/check_new-blog-post.sh")                  content => template("blog/check_new-blog-post.sh")
17          }          }
18            file { "/var/lib/blog/":
19                    ensure => present,
20                    owner => blog,
21                    group => blog,
22                    mode => 644
23            }
24          cron { blog:          cron { blog:
25                  user => blog,                  user => blog,
26                  hour => 0,                  hour => 0,

Legend:
Removed from v.147  
changed lines
  Added in v.148

  ViewVC Help
Powered by ViewVC 1.1.30