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

Unified Diff: modules/statsmaster/manifests/downloads.pp

Issue 29464559: #1538 - Remove class statsmaster and associated resources (Closed)
Patch Set: Created June 13, 2017, 9:43 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/statsmaster/manifests/downloads.pp
diff --git a/modules/statsmaster/manifests/downloads.pp b/modules/statsmaster/manifests/downloads.pp
deleted file mode 100644
index d8aba35f3aafe8b9d6e583fb13da8f453cc26b34..0000000000000000000000000000000000000000
--- a/modules/statsmaster/manifests/downloads.pp
+++ /dev/null
@@ -1,36 +0,0 @@
-class statsmaster::downloads {
- package {['pypy', 'python-jinja2']:}
-
- class {'sitescripts':
- sitescriptsini_content => template('statsmaster/sitescripts.ini.erb'),
- }
-
- file {['/var/www/stats', '/var/www/statsdata']:
- ensure => directory,
- mode => 0755,
- owner => stats,
- }
-
- file {'/var/www/statsdata/usercounts.html':
- ensure => file,
- mode => 0444,
- source => 'puppet:///modules/statsmaster/usercounts.html',
- owner => stats,
- }
-
- cron {'updatestats':
- ensure => present,
- require => [
- Package['pypy'],
- Package['python-jinja2'],
- Class["sitescripts"]
- ],
- command => "pypy -m sitescripts.stats.bin.logprocessor && python -m sitescripts.stats.bin.pagegenerator",
- environment => concat(hiera('cron::environment', []), [
- 'PYTHONPATH=/opt/sitescripts',
- ]),
- user => stats,
- hour => 1,
- minute => 30,
- }
-}

Powered by Google App Engine
This is Rietveld