| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 class statsclient { | 1 class statsclient { |
| 2 | |
| 3 include ssh | |
| 4 | |
| 2 user {'stats': | 5 user {'stats': |
| 3 ensure => present, | 6 ensure => present, |
| 4 home => '/home/stats', | 7 home => '/home/stats', |
| 5 managehome => true, | 8 managehome => true, |
| 6 } | 9 } |
| 7 | 10 |
| 8 file {'/home/stats/.ssh': | 11 file {'/home/stats/.ssh': |
| 9 ensure => directory, | 12 ensure => directory, |
| 10 owner => stats, | 13 owner => stats, |
| 11 mode => 0600, | 14 mode => 0600, |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 30 GatewayPorts no | 33 GatewayPorts no |
| 31 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" |
| 32 ' | 35 ' |
| 33 } | 36 } |
| 34 | 37 |
| 35 cron {'mirrorstats': | 38 cron {'mirrorstats': |
| 36 ensure => absent, | 39 ensure => absent, |
| 37 user => stats, | 40 user => stats, |
| 38 } | 41 } |
| 39 } | 42 } |
| OLD | NEW |