Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/filtermaster/manifests/init.pp

Issue 29329135: Issue 3091 - Setup *.gz downloads for content blocker lists (Closed)
Patch Set: Created Oct. 14, 2015, 7:12 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/filtermaster/manifests/repo_download.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | modules/filtermaster/manifests/repo_download.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld