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: Created Sept. 8, 2014, 11:56 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/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
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
« modules/private ('K') | « modules/private ('k') | modules/statsmaster/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld