[Puppet Users] Re: SSH Module with multiple conditions

2013-10-24 Thread Daniele Sluijters
Hey, Your approach seems fairly solid and should work but two things: - prefer osfamily over operatingsystem, for example osfamily Redhat = operatingsystem RedHat|CentOS|Fedora and a few more - use osfamily to resolve your files. Instead of 'if string this then file that' just point it to

[Puppet Users] Re: SSH Module with multiple conditions

2013-10-24 Thread Daniele Sluijters
Hey, One other tip, fully qualify everything to avoid weird behaviour in puppet: - $::osfamily, not $osfamily - $::ssh::params, not $ssh::params - include ::ssh::params, not ssh::params -- Daniele Sluijters On Thursday, 24 October 2013 22:16:00 UTC+2, John wrote: I've written and deployed a