Issue #3367 has been updated by Mark Plaksin.

Here's the fact we use to find the verison.  It assumes you're running the most 
recent version (of the versions installed), which we always are:

<pre>
Facter.add("tww_ssh_version") do
    setcode do
        unless Dir.glob('/opt/TWWfsw/openssh*').empty?
            Dir.new('/opt/TWWfsw').find{|d| 
/openssh/.match(d)}.sort.last.delete('openssh')
        end
    end
end
</pre>
----------------------------------------
Feature #3367: Path to ssh key
http://projects.puppetlabs.com/issues/3367

Author: Mark Plaksin
Status: Needs more information
Priority: Normal
Assigned to: 
Category: library
Target version: 
Keywords: 
Branch: 


It would be great if we could specify the location(s) that facter looks for
ssh keys.

Currently ssh.rd looks for ssh keys in these directories:

["/etc/ssh","/usr/local/etc/ssh","/etc","/usr/local/etc"]

This works great on our Linux boxes but we use thewrittenword.com's SSH on
our Solaris and HP-UX boxes.  The key is in /etc/opt/TWWfsw/openssh47 and,
of course, the version changes sometimes so it might be in
/etc/opt/TWWfsw/openssh52, etc.

Thanks!


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to