Hi,

I'm new to puppet so please pardon my ignorance.

I'm writing a module to work with a network device that I have and trying 
to connect to it using the ssh transport.

My device.conf is 

[device]
type <type>
url ssh://.....

network_device/device.rb has 

@transport = Puppet::Util::NetworkDevice::Transport::Ssh.new
transport.connect

Now when I call this using puppet device -d, the output is stuck at

Debug: Finishing transaction 70351396003780
Debug: connecting to <device.com> as admin

I traced that to the transport/ssh.rb that ships with puppet. I've gone 
through the existing cisco ios device management module and that seems to 
be calling it's own transport instead (sshios:// -> sshios.rb) and that 
method works for me too but how do I begin to use the built in ssh module.

--
Sharninder


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/bfe058a2-423d-4850-afed-de24b339d830%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to