Hi all I''m trying to test the F5 network device support in Puppet 3.0 However I seem to be failing at the first hurdle... I''ve created a device.conf file in /etc/puppet with the following content: $ cat device.conf> [actint-star-f501.card.co.uk] > type f5 > url https://user:pass@actint-star-f501/ >I''ve also installed f5-icontrol gem: $ gem list -d f5-icontrol> > *** LOCAL GEMS *** > > f5-icontrol (10.2.0.2) > Author: DevCentral Team > Homepage: http://devcentral.f5.com > Installed at: /usr/lib/ruby/gems/1.8 > > Ruby library for F5 BIG-IP iControl API >However when I run ''puppet device --verbose'', it just fails with:> $ sudo puppet device --verbose > Info: starting applying configuration to actint-star-f501.card.co.uk at > https://username:password@actint-star-f501/ > Error: Could not run: no such file to load -- > puppet/util/network_device/f5/device >The file exists in the puppet modules dir:> $ ls -l modules/f5/lib/puppet/util/network_device/f5/device.rb > -rw-r--r--. 1 puppet puppet 1647 Nov 2 10:45 > modules/f5/lib/puppet/util/network_device/f5/device.rb >Any ideas how I can get this working? Cheers Gavin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/JulYdaKfHOgJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hmm, not sure if this is by design, but it looks like I had to do a *''puppet agent -t''* run on the puppet master in order for *puppet device* to work... :s Also looks like the new providers etc are being downloaded by every single client. Is this really necessary for something that''s only intended to be managed from the puppet master? Cheers Gavin On Friday, 2 November 2012 10:55:53 UTC, Gavin Williams wrote:> > Hi all > > I''m trying to test the F5 network device support in Puppet 3.0 > > However I seem to be failing at the first hurdle... > I''ve created a device.conf file in /etc/puppet with the following content: > > $ cat device.conf >> [actint-star-f501.card.co.uk] >> type f5 >> url https://user:pass@actint-star-f501/ >> > > I''ve also installed f5-icontrol gem: > > $ gem list -d f5-icontrol >> >> *** LOCAL GEMS *** >> >> f5-icontrol (10.2.0.2) >> Author: DevCentral Team >> Homepage: http://devcentral.f5.com >> Installed at: /usr/lib/ruby/gems/1.8 >> >> Ruby library for F5 BIG-IP iControl API >> > > However when I run ''puppet device --verbose'', it just fails with: > >> $ sudo puppet device --verbose >> Info: starting applying configuration to actint-star-f501.card.co.uk at >> https://username:password@actint-star-f501/ >> Error: Could not run: no such file to load -- >> puppet/util/network_device/f5/device >> > > The file exists in the puppet modules dir: > >> $ ls -l modules/f5/lib/puppet/util/network_device/f5/device.rb >> -rw-r--r--. 1 puppet puppet 1647 Nov 2 10:45 >> modules/f5/lib/puppet/util/network_device/f5/device.rb >> > > Any ideas how I can get this working? > > Cheers > Gavin > > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/QK4Gt9EY_oIJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Fri, Nov 2, 2012 at 8:19 AM, Gavin Williams <fatmcgav@gmail.com> wrote:> Hmm, not sure if this is by design, but it looks like I had to do a ''puppet > agent -t'' run on the puppet master in order for puppet device to work... :sI think this is related to: http://projects.puppetlabs.com/issues/14073> Also looks like the new providers etc are being downloaded by every single > client. Is this really necessary for something that''s only intended to be > managed from the puppet master?Unfortunately there''s no configuration for controlling for which lib directory gets pluginsynced. HTH, Nan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, you have to set RUBYLIB path: # export RUBYLIB=/etc/puppet/modules/f5/lib/:$RUBYLIB on both master and proxy. Cheers, Cesar On Friday, November 2, 2012 11:55:53 AM UTC+1, Gavin Williams wrote:> > Hi all > > I''m trying to test the F5 network device support in Puppet 3.0 > > However I seem to be failing at the first hurdle... > I''ve created a device.conf file in /etc/puppet with the following content: > > $ cat device.conf >> [actint-star-f501.card.co.uk] >> type f5 >> url https://user:pass@actint-star-f501/ >> > > I''ve also installed f5-icontrol gem: > > $ gem list -d f5-icontrol >> >> *** LOCAL GEMS *** >> >> f5-icontrol (10.2.0.2) >> Author: DevCentral Team >> Homepage: http://devcentral.f5.com >> Installed at: /usr/lib/ruby/gems/1.8 >> >> Ruby library for F5 BIG-IP iControl API >> > > However when I run ''puppet device --verbose'', it just fails with: > >> $ sudo puppet device --verbose >> Info: starting applying configuration to actint-star-f501.card.co.uk at >> https://username:password@actint-star-f501/ >> Error: Could not run: no such file to load -- >> puppet/util/network_device/f5/device >> > > The file exists in the puppet modules dir: > >> $ ls -l modules/f5/lib/puppet/util/network_device/f5/device.rb >> -rw-r--r--. 1 puppet puppet 1647 Nov 2 10:45 >> modules/f5/lib/puppet/util/network_device/f5/device.rb >> > > Any ideas how I can get this working? > > Cheers > Gavin > > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/rhvLeEUhm3oJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.