example42 / puppet-openssh

Openssh Puppet Module
http://www.example42.com
Other
9 stars 19 forks source link

Add openssh client support #13

Open ghost opened 10 years ago

ghost commented 10 years ago

Right now, this module only manages the openssh server configuration. It would be useful to add the openssh-client package (on RedHat) and the ability to configure ssh_config as well.

ghost commented 10 years ago

Somewhat related to this, is there a reason that your modules use the operatingsystem fact instead of osfamily?

alvagante commented 10 years ago

When example42 "nextgen" or 2.x modules where started there was no osfamily yet and the wide usage of operatingsystem has been kept to keep compatibility with older puppet/facter versions. On 3.x modules osfamily is used.

About client management I'd rather make a 3.x module from scratch, based on this skeleton: https://github.com/stdmod/puppet-skeleton-standard

ghost commented 10 years ago

Would that new 3.x module handle both ssh-server and ssh-client configuration, or just client? They're pretty tightly related, so it would seem to make sense to configure both of them through one module.