Hi John,
  For your first requirement, you can use the puppet-module-ssh as 
suggested by Garrett.
and for the second requirement you can use facts, like hostname and use it 
for configuartion as :
if $hostname == "host-A"
{
...
  configuartion1
...
}
and so on..
I hope this will help you.

Thanks and Regards,
Sneha More.

On Tuesday, October 8, 2013 11:57:35 PM UTC+5:30, John wrote:
>
> I need to write a puppet SSHD module that does the following:
>
> First I have 5 different operating systems to install to: Red Hat, Free 
> BSD, AIX, Ubuntu, and SuSE.
>
> The second requirements:
>
> If the host file contains an entry of host-A.domain.com (for example) 
> then I need ssh-config1 installed.
>
> If the host file contains an entry of host-B.domain.com then I need 
> ssh_config2 installed.
>
> If there is an entry in hosts for host-C.domain.com then I need 
> ssh_config3 installed.
>
> Is there a sample SSH module that has such parameters, or can someone 
> provide a generic template to follow such requirements?
>
> Thanks in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to