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, |
- } |
-} |