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 | 10 # Realize known_hosts from base module |
11 Sshkey <| |> | 11 Sshkey <| tag == 'base::explicit_host_record' |> |
12 | 12 |
13 user {'stats': | 13 user {'stats': |
14 ensure => present, | 14 ensure => present, |
15 home => '/home/stats', | 15 home => '/home/stats', |
16 managehome => true, | 16 managehome => true, |
17 } | 17 } |
18 | 18 |
19 File { | 19 File { |
20 group => root, | 20 group => root, |
21 } | 21 } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 ensure => present, | 76 ensure => present, |
77 require => File['/opt/cron_geoipdb_update.py'], | 77 require => File['/opt/cron_geoipdb_update.py'], |
78 command => '/opt/cron_geoipdb_update.py', | 78 command => '/opt/cron_geoipdb_update.py', |
79 environment => ['MAILTO=admins@adblockplus.org,root'], | 79 environment => ['MAILTO=admins@adblockplus.org,root'], |
80 user => root, | 80 user => root, |
81 hour => 3, | 81 hour => 3, |
82 minute => 15, | 82 minute => 15, |
83 monthday => 3, | 83 monthday => 3, |
84 } | 84 } |
85 } | 85 } |
OLD | NEW |