Parent Directory | Revision Log
remove the check for postfix not to duplicate the 'postfix' module
1 | dams | 143 | #TODO: add the creation of the user 'blog' in puppet |
2 | class blog { | ||
3 | package { 'wget': | ||
4 | ensure => installed | ||
5 | } | ||
6 | dams | 147 | #package { 'postfix': |
7 | # ensure => installed | ||
8 | #} | ||
9 | dams | 143 | 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 |