Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Scholar
Impact
~159 people reached

  • 0 posts edited
  • 0 helpful flags
  • 31 votes cast
Mar
30
awarded  Scholar
Mar
30
accepted Concatenate arbitrary number of templates in Puppet
Mar
30
comment Concatenate arbitrary number of templates in Puppet
Thanks for the advice, @FelixFrank, I will keep it in mind. It's for a monitoring module, so I can keep "things to monitor" in partial config files and assign those on a per-host basis. The module should be instantiated once per host, so I think a performance hit should be acceptable.
Mar
30
comment Concatenate arbitrary number of templates in Puppet
I will try it out and report back. I was going to ask if it's possible to "call" the puppet template() function from inside Proper Ruby. If so, you could actually skip the extra file and go straight for inline_template('@arr.reduce ("") { |str, f| str + scope.function_template(f) }')
Mar
27
awarded  Student
Mar
27
asked Concatenate arbitrary number of templates in Puppet
Aug
14
asked Why does MySQL use a different index for my query in different versions?
Aug
3
awarded  Supporter
May
28
comment Ssh, run a command on login, and then Stay Logged In?
When I do that, tab completion breaks in the new shell (even with "-i") -- any idea why / how to fix?