OLD | NEW |
1 class statsmaster( | 1 class statsmaster( |
2 $domain, | 2 $domain, |
3 $certificate, | 3 $certificate, |
4 $private_key, | 4 $private_key, |
5 $is_default=false | 5 $is_default=false |
6 ) { | 6 ) { |
7 | 7 |
8 include statsmaster::downloads, statsmaster::awstats | 8 include statsmaster::downloads, statsmaster::awstats |
9 | 9 |
10 # Realize known_hosts from base module | |
11 Sshkey <| tag == 'base::explicit_host_record' |> | |
12 | |
13 user {'stats': | 10 user {'stats': |
14 ensure => present, | 11 ensure => present, |
15 home => '/home/stats', | 12 home => '/home/stats', |
16 managehome => true, | 13 managehome => true, |
17 } | 14 } |
18 | 15 |
19 File { | 16 File { |
20 group => root, | 17 group => root, |
21 } | 18 } |
22 | 19 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 class {'geoip': | 68 class {'geoip': |
72 cron => { | 69 cron => { |
73 'environment' => ['MAILTO=admins@adblockplus.org,root'], | 70 'environment' => ['MAILTO=admins@adblockplus.org,root'], |
74 'hour' => 3, | 71 'hour' => 3, |
75 'minute' => 15, | 72 'minute' => 15, |
76 'monthday' => 3, | 73 'monthday' => 3, |
77 }, | 74 }, |
78 script => '/opt/cron_geoipdb_update.py', | 75 script => '/opt/cron_geoipdb_update.py', |
79 } | 76 } |
80 } | 77 } |
OLD | NEW |