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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 146 - (hide annotations) (download)
Fri Nov 5 14:51:49 2010 UTC (13 years, 4 months ago) by dams
File size: 642 byte(s)
fix the path to '/usr/local/bin' '/var/lib/blog'
1 dams 143 #TODO: add the creation of the user 'blog' in puppet
2     class blog {
3     package { 'wget':
4     ensure => installed
5     }
6     package { 'postfix':
7     ensure => installed
8     }
9     file { "check_new-blog-post":
10 dams 146 path => "/usr/local/bin/check_new-blog-post.sh",
11 dams 143 ensure => present,
12     owner => blog,
13     group => blog,
14     mode => 755,
15     content => template("blog/check_new-blog-post.sh")
16     }
17     cron { blog:
18     user => blog,
19     hour => 0,
20     minute => 15,
21 dams 146 command => "/usr/local/bin/check_new-blog-post.sh",
22 dams 143 require => File["check_new-blog-post"],
23     }
24     }

  ViewVC Help
Powered by ViewVC 1.1.30