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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 143 - (show annotations) (download)
Fri Nov 5 14:16:41 2010 UTC (13 years, 4 months ago) by dams
File size: 634 byte(s)
adding check_new-blog-post on champagne
1 #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 path => "/home/blog/check_new-blog-post.sh",
11 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 command => "/home/blog/check_new-blog-post.sh",
22 require => File["check_new-blog-post"],
23 }
24 }

  ViewVC Help
Powered by ViewVC 1.1.30