Left: | ||
Right: |
OLD | NEW |
---|---|
1 class statsclient { | 1 class statsclient { |
2 | |
3 include ssh | |
Wladimir Palant
2014/11/17 16:43:36
That change shouldn't be necessary, is that a reba
mathias
2014/11/27 00:30:18
No it is not, that one is actually intentional. Pl
| |
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 |