/[adm]/puppet/modules/youri-check/manifests/init.pp
ViewVC logotype

Annotation of /puppet/modules/youri-check/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1366 - (hide annotations) (download)
Wed Mar 23 22:39:12 2011 UTC (13 years ago) by pterjan
File size: 633 byte(s)
Fix module name
1 pterjan 1364 class youri-check {
2    
3     $user = 'youri'
4     $home = '/var/tmp/youri'
5     $outdir = "$home/www"
6     $config = "/etc/youri/cauldron.conf"
7    
8     user { $user:
9     comment => "Youri Check",
10     ensure => present,
11     managehome => true,
12     home => $home,
13     }
14    
15     package { ['perl-Youri-Media', 'youri-check', 'perl-DBD-SQLite'] :
16     ensure => installed
17     }
18    
19     cron { 'check':
20     command => "youri-check -c $config test && youri-check -c $config report",
21     hour => 6,
22     }
23    
24     file { "$config":
25     ensure => present,
26     owner => $user,
27     mode => 640,
28 pterjan 1366 content => template("youri-check/check.conf"),
29 pterjan 1364 }
30     }

  ViewVC Help
Powered by ViewVC 1.1.30