Sign up ×
Network Engineering Stack Exchange is a question and answer site for network engineers. It's 100% free, no registration required.

So, I'm toying with the idea of using puppet for core network device configuration to increase accuracy of the configs my team is generating. I wanted to start by setting up a demo and learning more about how puppet works in general.

I installed puppet on our teams networking utility node (an Ubuntu 12.04 LTS VM) and configured a single device in my ~user/.puppet/device.conf which looks something like....

[XX-core01.XXX.local]
        type cisco
        url ssh://user:[email protected]/

I ran puppet device --verbose, and issued a cert. But once I did, I got an error that I'm unable to find any information about.

info: starting applying configuration to XX-core01.XXX.local at ssh://user:[email protected]/
info: Creating a new SSL key for XX-core01.XXX.local
info: Caching certificate for ca
info: Creating a new SSL certificate request for XX-core01.XXX.local
info: Certificate Request fingerprint (md5): 18:B8:55:F9:A0:F6:8E:A3:F5:53:59:87:4C:00:48:23
info: Caching certificate for XX-core01.XXX.local
info: Caching certificate_revocation_list for ca
err: Could not retrieve local facts: undefined method `captures' for nil:NilClass

Can anyone point me in the right direction? Also, is it possible using puppet to "walk" the device? I'd be interested in seeing what options are available to configure on my different devices.

share|improve this question

closed as off topic by Craig Constantine, bigmstone, John Jensen, Ricky Beam, David Rothera May 24 '13 at 20:39

Questions on Network Engineering Stack Exchange are expected to relate to network engineering within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
I think you should ask this question on ServerFault. – Bulki May 24 '13 at 14:38
5  
Dunno, puppet is emerging for networks as well. Juniper officially supports puppet (puppetlabs.com/solutions/juniper-networks) I don't feel it's out-of-scope, but maybe ServerFault is more likely to reach people capable answering it. I do understand ruby though and the error you see is because code did 'nil.captures' and nil does not have such method. So maybe some mandatory missing in recipe. – ytti May 24 '13 at 14:46
1  
I agree: off-topic, SF would be better to ask. (This Q is primarily about Puppet. If it was primarily about using puppet to do something net eng related, then I feel it would be on topic.) – Craig Constantine May 24 '13 at 14:58
    
This looks like you are either missing a module or using the wrong version as it looks like the class is trying to access a method that doesn't exist. Will start discussion on meta for this situation as well. – YLearn May 24 '13 at 17:57
    
meta discussion created. You can find it here – YLearn May 24 '13 at 18:15

Browse other questions tagged or ask your own question.