Error: Could not run: cannot load such file -- net/ssh/telnet

24 مرّة مشاهدة
التخطي إلى أول رسالة غير مقروءة

Mike

غير مقروءة،
16‏/11‏/2022، 8:01:23 م16‏/11‏/2022
إلى Puppet Users
Hi,

I've come across the in subject error when trying to run puppet against a cisco device.  I've exhausted my knowledge to troubleshoot this issue.  Any pointers or place to check would be appreciated.  Thanks


$ puppet device --verbose --target cisco_device.puppetlabs.net

Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Error: Could not run: cannot load such file -- net/ssh/telnet
 

$ Contents of device.conf

[cisco_device.puppetlabs.net]
type cisco_ios
url file:///etc/puppetlabs/puppet/cisco_device.puppetlabs.net.yaml


$ Contents of cisco_device.puppetlabs.net.yaml

"address": "192.168.192.119"
"port": 22
"username": "cisco"
"password": "cisco"
"enable_password": ""

Martin Alfke

غير مقروءة،
17‏/11‏/2022، 10:16:35 ص17‏/11‏/2022
إلى puppet...@googlegroups.com
Hi,

Your puppet agent is missing a ruby gem:

This gem must be installed using the puppet ruby gem command:

/opt/puppetlabs/puppet/bin/gem install net-ssh-telnet

Hth,
Martin


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5d0f88f6-cbfa-4193-b692-ab18a8e8673en%40googlegroups.com.

Mike

غير مقروءة،
24‏/11‏/2022، 12:02:02 م24‏/11‏/2022
إلى Puppet Users
Thanks Martin.  I have run into different issues unfortunately and I appear to be miles away from this point now.  I'll start a new conversation.
الرد على الكل
رد على الكاتب
إعادة توجيه
0 رسالة جديدة