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

Unified Diff: modules/downloadserver/manifests/init.pp

Issue 11468051: Update stats processing (Closed)
Patch Set: Created Aug. 23, 2013, 1:58 p.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/downloadserver/manifests/init.pp
===================================================================
--- a/modules/downloadserver/manifests/init.pp
+++ b/modules/downloadserver/manifests/init.pp
@@ -1,44 +1,19 @@
class downloadserver {
- user {'stats':
- ensure => present,
- home => '/home/stats',
- managehome => true
- }
-
- file {'/home/stats/.ssh':
- ensure => directory,
- owner => stats,
- mode => 0600,
- require => User['stats']
- }
-
- file {'/home/stats/.ssh/authorized_keys':
- ensure => present,
- owner => stats,
- mode => 0400,
- source => 'puppet:///modules/private/subscriptionstat-authorized_keys'
- }
-
- class {'ssh':
- custom_configuration => 'Match User stats
- AllowTcpForwarding no
- X11Forwarding no
- AllowAgentForwarding no
- GatewayPorts no
- ForceCommand cat /var/www/stats.ini'
- }
-
class {'nginx':
worker_processes => 2,
worker_connections => 4000,
ssl_session_cache => off,
}
+ class {'statsclient':
+ log_path => '/var/log/nginx/access_log_downloads.1.gz',
+ }
+
user {'hg':
ensure => present,
comment => 'Mercurial client user',
home => '/home/hg',
managehome => true
}
file {'/var/www':

Powered by Google App Engine
This is Rietveld