OLD | NEW |
1 class filtermaster { | 1 class filtermaster { |
2 Cron { | 2 Cron { |
3 environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescript
s'], | 3 environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescript
s'], |
4 } | 4 } |
5 | 5 |
6 include ssh | 6 include ssh |
7 | 7 |
8 concat::fragment {'sshd_max_limits': | 8 concat::fragment {'sshd_max_limits': |
9 target => 'sshd_config', | 9 target => 'sshd_config', |
10 order => '50', | 10 order => '50', |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 'easylistchina', | 102 'easylistchina', |
103 'easylistcombinations', | 103 'easylistcombinations', |
104 'malwaredomains', | 104 'malwaredomains', |
105 'ruadlist', | 105 'ruadlist', |
106 'listefr', | 106 'listefr', |
107 'exceptionrules', | 107 'exceptionrules', |
108 'easylistdutch', | 108 'easylistdutch', |
109 'adblockpolska', | 109 'adblockpolska', |
110 'facebookfilters', | 110 'facebookfilters', |
111 'youtubefilters', | 111 'youtubefilters', |
112 'antiadblockfilters' | 112 'antiadblockfilters', |
| 113 'adwarefilters', |
113 ]: | 114 ]: |
114 } | 115 } |
115 | 116 |
116 cron {'update_subscription': | 117 cron {'update_subscription': |
117 ensure => present, | 118 ensure => present, |
118 command => "python -m sitescripts.subscriptions.bin.updateSubscriptionDownlo
ads 3>&1 1>/dev/null 2>&3 | perl -pe 's/^/\"[\" . scalar localtime() . \"] \"/e'
>> /tmp/subscription_errors && chmod 666 /tmp/subscription_errors 2>/dev/null", | 119 command => "python -m sitescripts.subscriptions.bin.updateSubscriptionDownlo
ads 3>&1 1>/dev/null 2>&3 | perl -pe 's/^/\"[\" . scalar localtime() . \"] \"/e'
>> /tmp/subscription_errors && chmod 666 /tmp/subscription_errors 2>/dev/null", |
119 user => rsync, | 120 user => rsync, |
120 require => User['rsync'], | 121 require => User['rsync'], |
121 minute => '*/10' | 122 minute => '*/10' |
122 } | 123 } |
(...skipping 15 matching lines...) Expand all Loading... |
138 User['rsync'], | 139 User['rsync'], |
139 File['/home/rsync/update_repos.sh'] | 140 File['/home/rsync/update_repos.sh'] |
140 ], | 141 ], |
141 minute => '8-58/10' | 142 minute => '8-58/10' |
142 } | 143 } |
143 | 144 |
144 class {'sitescripts': | 145 class {'sitescripts': |
145 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' | 146 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' |
146 } | 147 } |
147 } | 148 } |
OLD | NEW |