On Fri, 2011-04-08 at 01:06 -0700, James Turnbull wrote: > James Turnbull wrote: > > Brice Figureau wrote: > >> Hi, > >> > >> This is my Christmas Gift for the community :) > >> That's something that was haunting me for a long time: a way to manage > >> switch/routers directly from puppet. > >> Unfortunately most of the switches/routers don't run ruby natively and > >> as such can't run puppet. > >> > >> Based on an open-space discussion that happened at PuppetCamp EU in May > >> 2010, I > >> finally managed to find the time to implement a solution to this problem. > >> > >> This is currently a Proof Of Concept of a puppet type/provider connecting > >> to remote cisco switch/routers running ios to manage: > >> * interfaces (including ip address, trunking, etc...) > >> * vlans > >> > >> This has been tested successfully on some cisco hardware I happened > >> to have available (a couple of switch and low-end routers). > >> > >> The puppet provider can connect to remote switch/routers through > >> ssh and/or telnet. > >> > > > > Brice > > > > I'm just testing this and I seem to have some tests in error: > > > > /home/james/src/puppet/spec/unit/util/network_device/transport/ssh_spec.rb:8: > > undefined method `confine' for #<Class:0xb4e13ed0> (NoMethodError) > > from > > I worked it out. 2.5.1 changed the need to monkey-patch confine. I'll > fix the test.
Yes, the code base is now a little bit old and at that time I still was on rspec 1.x or something. I plan to restart the development of this feature soon, especially adding the missing features and optimizations I had planned. Unfortunately I'm spending most of my free time now on work-side-project instead of hacking on puppet (/me sad about this). I'm also contemplating moving the patch outside of puppet core as Luke was suggesting. If you need any help or have any question, ping me on #puppet (or wait for puppetcamp) -- Brice Figureau Follow the latest Puppet Community evolutions on www.planetpuppet.org! -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
