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

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

Issue 29464599: #1538 - Remove class statsclient and associated resources (Closed)
Patch Set: Created June 13, 2017, 9:56 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
« no previous file with comments | « modules/private-stub/hiera/hosts/eyeoforum1.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/statsclient/manifests/init.pp
diff --git a/modules/statsclient/manifests/init.pp b/modules/statsclient/manifests/init.pp
deleted file mode 100644
index 89bace62c1ac1d2308ba54456464bc5f886b0675..0000000000000000000000000000000000000000
--- a/modules/statsclient/manifests/init.pp
+++ /dev/null
@@ -1,43 +0,0 @@
-class statsclient {
-
- include ssh
-
- user {'stats':
- ensure => present,
- home => '/home/stats',
- managehome => true,
- groups => ['adm'],
- }
-
- 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/stats-authorized_keys',
- }
-
- concat::fragment {'sshd_user_stats':
- target => 'sshd_config',
- order => '99',
- content => '
- Match User stats
- AllowTcpForwarding no
- X11Forwarding no
- AllowAgentForwarding no
- GatewayPorts no
- ForceCommand (echo $SSH_ORIGINAL_COMMAND | grep -qv /) && cat "/var/log/nginx/$SSH_ORIGINAL_COMMAND"
- '
- }
-
- cron {'mirrorstats':
- ensure => absent,
- user => stats,
- }
-}
« no previous file with comments | « modules/private-stub/hiera/hosts/eyeoforum1.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld