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

Unified Diff: modules/statsmaster/manifests/init.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/init.pp
diff --git a/modules/statsmaster/manifests/init.pp b/modules/statsmaster/manifests/init.pp
deleted file mode 100644
index 0f52dc8d483b28b6133b64a084a99ff92d8f39a2..0000000000000000000000000000000000000000
--- a/modules/statsmaster/manifests/init.pp
+++ /dev/null
@@ -1,76 +0,0 @@
-class statsmaster(
- $domain,
- $certificate,
- $private_key,
- $is_default=false
- ) {
-
- include statsmaster::downloads, statsmaster::awstats
-
- user {'stats':
- ensure => present,
- home => '/home/stats',
- managehome => true,
- }
-
- File {
- group => root,
- }
-
- file {'/home/stats/.ssh':
- ensure => directory,
- owner => stats,
- mode => 0600,
- require => User['stats'],
- }
-
- file {'/home/stats/.ssh/id_rsa':
- ensure => present,
- owner => stats,
- mode => 0400,
- source => 'puppet:///modules/private/stats@stats.adblockplus.org',
- }
-
- class {'nginx':
- worker_connections => 4000,
- ssl_session_cache => off,
- }
-
- file {'/var/www':
- ensure => directory,
- mode => 0755,
- owner => root
- }
-
- file {'/var/www/htpasswd':
- ensure => file,
- mode => 0444,
- source => 'puppet:///modules/private/stats-htpasswd',
- owner => root,
- }
-
- nginx::hostconfig{$domain:
- source => 'puppet:///modules/statsmaster/site.conf',
- is_default => $is_default,
- certificate => $certificate,
- private_key => $private_key,
- log => 'access_log_stats'
- }
-
- file {'/opt/cron_geoipdb_update.sh':
- ensure => absent,
- }
-
- cron {'geoipdb_update':
- ensure => 'absent',
- }
-
- class {'geoip':
- cron => {
- 'hour' => 3,
- 'minute' => 15,
- 'monthday' => 3,
- },
- script => '/opt/cron_geoipdb_update.py',
- }
-}

Powered by Google App Engine
This is Rietveld