summaryrefslogtreecommitdiffstats
path: root/lib/puppet/feature
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2011-01-03 19:50:20 +0100
committerJames Turnbull <james@lovedthanlost.net>2011-04-08 18:19:53 +1000
commit6560da52674dfce10a622b633a9ed511f75b0a89 (patch)
tree77243f514700d857f66113a7349f611844b1a29e /lib/puppet/feature
parent358245a823c1e2ed6fa2351130cf98678bd02e0d (diff)
downloadpuppet-6560da52674dfce10a622b633a9ed511f75b0a89.tar.gz
puppet-6560da52674dfce10a622b633a9ed511f75b0a89.tar.xz
puppet-6560da52674dfce10a622b633a9ed511f75b0a89.zip
Ssh transport for network device management
It is an adapatation of net-ssh-telnet, so that net-ssh conforms to a saner interface for consumer. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/feature')
-rw-r--r--lib/puppet/feature/ssh.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/feature/ssh.rb b/lib/puppet/feature/ssh.rb
new file mode 100644
index 000000000..82fe19882
--- /dev/null
+++ b/lib/puppet/feature/ssh.rb
@@ -0,0 +1,4 @@
+require 'puppet/util/feature'
+
+Puppet.features.rubygems?
+Puppet.features.add(:ssh, :libs => %{net/ssh})