| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 class statsclient { | 1 class statsclient { |
| 2 | 2 |
| 3 include ssh | 3 include ssh |
|
Wladimir Palant
2014/09/09 18:15:06
Isn't it already included by the base module?
mathias
2014/10/08 03:02:33
It is, but that does not ensure that the base/ssh
| |
| 4 | 4 |
| 5 user {'stats': | 5 user {'stats': |
| 6 ensure => present, | 6 ensure => present, |
| 7 home => '/home/stats', | 7 home => '/home/stats', |
| 8 managehome => true, | 8 managehome => true, |
| 9 } | 9 } |
| 10 | 10 |
| 11 file {'/home/stats/.ssh': | 11 file {'/home/stats/.ssh': |
| 12 ensure => directory, | 12 ensure => directory, |
| 13 owner => stats, | 13 owner => stats, |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 33 GatewayPorts no | 33 GatewayPorts no |
| 34 ForceCommand (echo $SSH_ORIGINAL_COMMAND | grep -qv /) && cat "/var/log/ nginx/$SSH_ORIGINAL_COMMAND" | 34 ForceCommand (echo $SSH_ORIGINAL_COMMAND | grep -qv /) && cat "/var/log/ nginx/$SSH_ORIGINAL_COMMAND" |
| 35 ' | 35 ' |
| 36 } | 36 } |
| 37 | 37 |
| 38 cron {'mirrorstats': | 38 cron {'mirrorstats': |
| 39 ensure => absent, | 39 ensure => absent, |
| 40 user => stats, | 40 user => stats, |
| 41 } | 41 } |
| 42 } | 42 } |
| LEFT | RIGHT |