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