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

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

Issue 11548101: Send all cron mail both to admins and the local root user (Closed)
Patch Set: Created Sept. 2, 2013, 9:21 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/statsclient/manifests/init.pp ('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 statsmaster { 1 class statsmaster {
2 user {'stats': 2 user {'stats':
3 ensure => present, 3 ensure => present,
4 home => '/home/stats', 4 home => '/home/stats',
5 managehome => true, 5 managehome => true,
6 } 6 }
7 7
8 file {'/home/stats/.ssh': 8 file {'/home/stats/.ssh':
9 ensure => directory, 9 ensure => directory,
10 owner => stats, 10 owner => stats,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 cron {'updatestats': 98 cron {'updatestats':
99 ensure => present, 99 ensure => present,
100 require => [ 100 require => [
101 User['stats'], 101 User['stats'],
102 Package['python-simplejson'], 102 Package['python-simplejson'],
103 Package['python-jinja2'], 103 Package['python-jinja2'],
104 Exec["fetch_sitescripts"] 104 Exec["fetch_sitescripts"]
105 ], 105 ],
106 command => "python -m sitescripts.stats.bin.datamerger && python -m sitescri pts.stats.bin.pagegenerator", 106 command => "python -m sitescripts.stats.bin.datamerger && python -m sitescri pts.stats.bin.pagegenerator",
107 environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescript s'], 107 environment => ['MAILTO=admins@adblockplus.org,root', 'PYTHONPATH=/opt/sites cripts'],
108 user => stats, 108 user => stats,
109 hour => 4, 109 hour => 4,
110 minute => 30, 110 minute => 30,
111 } 111 }
112 } 112 }
OLDNEW
« no previous file with comments | « modules/statsclient/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld