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

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

Issue 10642004: Simplify filter download server configuration (Closed)
Patch Set: Created May 22, 2013, 8:16 a.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 | « modules/filterserver/files/inc.easylist-downloads ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class filterserver { 1 class filterserver {
2 user {'subscriptionstat': 2 user {'subscriptionstat':
3 ensure => present, 3 ensure => present,
4 home => '/home/subscriptionstat', 4 home => '/home/subscriptionstat',
5 managehome => true 5 managehome => true
6 } 6 }
7 7
8 file {'/home/subscriptionstat/.ssh': 8 file {'/home/subscriptionstat/.ssh':
9 ensure => directory, 9 ensure => directory,
10 owner => subscriptionstat, 10 owner => subscriptionstat,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 ], 65 ],
66 owner => rsync 66 owner => rsync
67 } 67 }
68 68
69 file {'/var/www/subscriptionStats.ini': 69 file {'/var/www/subscriptionStats.ini':
70 ensure => present, 70 ensure => present,
71 owner => rsync 71 owner => rsync
72 } 72 }
73 73
74 file {'/etc/nginx/sites-available/inc.easylist-downloads': 74 file {'/etc/nginx/sites-available/inc.easylist-downloads':
75 ensure => file, 75 ensure => absent,
76 notify => Service['nginx'],
77 before => Nginx::Hostconfig['easylist-downloads.adblockplus.org'],
78 source => 'puppet:///modules/filterserver/inc.easylist-downloads'
79 } 76 }
80 77
81 file {'/etc/nginx/sites-available/inc.easylist-downloads-txt': 78 file {'/etc/nginx/sites-available/inc.easylist-downloads-txt':
82 ensure => absent 79 ensure => absent
83 } 80 }
84 81
85 file {'/etc/nginx/sites-available/inc.easylist-downloads-tpl': 82 file {'/etc/nginx/sites-available/inc.easylist-downloads-tpl':
86 ensure => absent 83 ensure => absent
87 } 84 }
88 85
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 ensure => present, 185 ensure => present,
189 require => File['/opt/cron_geoipdb_update.sh'], 186 require => File['/opt/cron_geoipdb_update.sh'],
190 command => '/opt/cron_geoipdb_update.sh', 187 command => '/opt/cron_geoipdb_update.sh',
191 user => root, 188 user => root,
192 hour => 3, 189 hour => 3,
193 minute => 15, 190 minute => 15,
194 monthday => 3 191 monthday => 3
195 } 192 }
196 193
197 } 194 }
OLDNEW
« no previous file with comments | « modules/filterserver/files/inc.easylist-downloads ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld