OLD | NEW |
1 class filtermaster( | 1 class filtermaster( |
2 $repos = hiera('filtermaster::repos', []), | 2 $repos = hiera('filtermaster::repos', []), |
3 $repo_downloads = hiera('filtermaster::repo_downloads', {}), | 3 $repo_downloads = hiera('filtermaster::repo_downloads', {}), |
4 ) { | 4 ) { |
5 | 5 |
6 Cron { | 6 Cron { |
7 environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescript
s'], | 7 environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescript
s'], |
8 } | 8 } |
9 | 9 |
10 include ssh | 10 include ssh |
(...skipping 30 matching lines...) Expand all Loading... |
41 file {'/home/rsync/subscription': | 41 file {'/home/rsync/subscription': |
42 ensure => directory, | 42 ensure => directory, |
43 owner => rsync | 43 owner => rsync |
44 } | 44 } |
45 | 45 |
46 file {'/home/rsync/generated': | 46 file {'/home/rsync/generated': |
47 ensure => directory, | 47 ensure => directory, |
48 owner => rsync | 48 owner => rsync |
49 } | 49 } |
50 | 50 |
| 51 file {'/home/rsync/generated/gzip': |
| 52 ensure => directory, |
| 53 owner => rsync, |
| 54 require => File['/home/rsync/generated'], |
| 55 } |
| 56 |
51 file {'/home/rsync/.ssh': | 57 file {'/home/rsync/.ssh': |
52 ensure => directory, | 58 ensure => directory, |
53 owner => rsync, | 59 owner => rsync, |
54 mode => 0600 | 60 mode => 0600 |
55 } | 61 } |
56 | 62 |
57 file {'/home/rsync/.ssh/authorized_keys': | 63 file {'/home/rsync/.ssh/authorized_keys': |
58 ensure => file, | 64 ensure => file, |
59 owner => rsync, | 65 owner => rsync, |
60 mode => 0600, | 66 mode => 0600, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 User['rsync'], | 118 User['rsync'], |
113 File['/home/rsync/update_repos.sh'] | 119 File['/home/rsync/update_repos.sh'] |
114 ], | 120 ], |
115 minute => '8-58/10' | 121 minute => '8-58/10' |
116 } | 122 } |
117 | 123 |
118 class {'sitescripts': | 124 class {'sitescripts': |
119 sitescriptsini_content => template('filtermaster/sitescripts.ini.erb'), | 125 sitescriptsini_content => template('filtermaster/sitescripts.ini.erb'), |
120 } | 126 } |
121 } | 127 } |
OLD | NEW |