/[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 225 - (show annotations) (download)
Wed Nov 10 11:13:45 2010 UTC (9 years, 7 months ago) by dams
File size: 721 byte(s)
Remove 'nail' on 'blog' and add 'mailx' on 'postfix'
1 #TODO:
2 # - add the creation of the user 'blog' in puppet
3 class blog {
4 package { 'wget':
5 ensure => installed
6 }
7 file { "check_new-blog-post":
8 path => "/usr/local/bin/check_new-blog-post.sh",
9 ensure => present,
10 owner => blog,
11 group => blog,
12 mode => 755,
13 content => template("blog/check_new-blog-post.sh")
14 }
15 file { "/var/lib/blog":
16 ensure => directory,
17 owner => blog,
18 group => blog,
19 mode => 644,
20 }
21 cron { blog:
22 user => blog,
23 minute => 15,
24 command => "/usr/local/bin/check_new-blog-post.sh",
25 require => File["check_new-blog-post"]
26 }
27 }

  ViewVC Help
Powered by ViewVC 1.1.28