Parent Directory | Revision Log
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 |