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

Side by Side Diff: modules/statsclient/manifests/init.pp

Issue 4810150141493248: Issue 122 - Puppet ENC via Hiera (Closed)
Patch Set: 112 - Puppet ENC via Hiera Created Oct. 8, 2014, 3:02 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld