Re: [Puppet Users] augeas, sshd and multiple onlyif requirements

2014-10-12 Thread Chris
On 10/10/14 16:29, John Warburton wrote: On 10 October 2014 13:34, Chris mailto:dmag...@gmail.com>> wrote: Any help, suggestions, alternatives would be greatly appreciated. Stop using Augeas and start using templates I didn't want to

Re: [Puppet Users] augeas, sshd and multiple onlyif requirements

2014-10-09 Thread John Warburton
On 10 October 2014 13:34, Chris wrote: > > Any help, suggestions, alternatives would be greatly appreciated. > Stop using Augeas and start using templates Here's an extreme example from the the most popular SSH module

[Puppet Users] augeas, sshd and multiple onlyif requirements

2014-10-09 Thread Chris
Hi all, I'm trying to insert a ClientAliveInterval setting into sshd_config with augeas. Some servers have a "Match User" line (so the new setting needs to come before the "Match User" line), and some don't. Some already have a ClientAliveInterval setting, and some don't. My first attempt wa