Re: [Puppet Users] Re: Best practice for calling commands

2012-07-23 Thread Nan Liu
Puppet devices provide an ssh and telnet transport, so you can reuse them for this purpose. In the resource type, you just need to specify 'apply_to_device'. The device connectivity information is stored in device.conf, and both transport behaves similar to an expect script. There's a few limitatio

Re: [Puppet Users] Re: Best practice for calling commands

2012-07-23 Thread Aaron Grewell
This sounds similar to how the router type works so that might be a good place to start looking for ideas. On Jul 23, 2012 6:20 AM, "jcbollinger" wrote: > > > On Monday, July 23, 2012 4:16:15 AM UTC-5, Hannes Schaller wrote: >> >> Hello! >> >> I hope someone might be able to give me some directio

[Puppet Users] Re: Best practice for calling commands

2012-07-23 Thread jcbollinger
On Monday, July 23, 2012 4:16:15 AM UTC-5, Hannes Schaller wrote: > > Hello! > > I hope someone might be able to give me some directions on this > problem. The search didn't come up with something useful because it's > some kind of a corner case i think... > > I am trying to implement an inte