MrTeleBird
2013-Jan-08 16:30 UTC
[Puppet Users] Problem: Managing F5 BIG-IP Network Devices with Puppet
Hello everyone! I am facing a problem by configuring the F5 Big-IP Module: http://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/ I installed GEM f5-icontrol on both, the master and the proxy. the file "device.conf" is configured on my proxy too. However, when i run: # puppet device --deviceconf /etc/puppet/device/lb-device.conf I got this error: */usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': no such file to load -- puppet/util/network_device/f5/device (LoadError)* which I think is basically correct since there is not such F5 Network Device File on my proxy... Any hints on how could I solve this issue??? thanks a lot! Cesar -- 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/-/vVXPq7qc0esJ. 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.
Christopher Wood
2013-Jan-08 17:31 UTC
Re: [Puppet Users] Problem: Managing F5 BIG-IP Network Devices with Puppet
(inline) On Tue, Jan 08, 2013 at 08:30:23AM -0800, MrTeleBird wrote:> Hello everyone! > > I am facing a problem by configuring the F5 Big-IP Module: > [1]http://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/ > > I installed GEM f5-icontrol on both, the master and the proxy. > the file "device.conf" is configured on my proxy too. > > However, when i run: > > # puppet device --deviceconf /etc/puppet/device/lb-device.conf > > I got this error: > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require'': no such file to load -- > puppet/util/network_device/f5/device (LoadError)I''m apparently just a couple of steps behind you. I do have this file: /etc/puppet/modules/f5/lib/puppet/util/network_device/f5/device.rb Did you install the icontrol gem? For me: gem install /etc/puppet/modules/f5/files/f5-icontrol-10.2.0.2.gem In the web page, for puppet enterprise: /opt/puppet/bin/gem install /etc/puppetlabs/puppet/modules/f5/files/f5-icontrol-10.2.0.2.gem> which I think is basically correct since there is not such F5 Network > Device File on my proxy... > > Any hints on how could I solve this issue??? > > thanks a lot! > Cesar > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > [2]https://groups.google.com/d/msg/puppet-users/-/vVXPq7qc0esJ. > 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. > > References > > Visible links > 1. http://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/ > 2. https://groups.google.com/d/msg/puppet-users/-/vVXPq7qc0esJ-- 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.
MrTeleBird
2013-Jan-09 07:47 UTC
Re: [Puppet Users] Problem: Managing F5 BIG-IP Network Devices with Puppet
Hi Christopher, yes I installed F5-IControl gem on both, my puppet server and the proxy system. Is your puppet server the same machine as your proxy system?? Yes, I do have the file /etc/puppet/modules/f5/lib/puppet/util/network_device/f5/device.rb but I have it on the machine running as puppet master, not in the machine running as proxy system. I also installed the F5 module on my proxy system but it did not work neither. Same result as before: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': no such file to load -- puppet/util/network_device/f5/device (LoadError) :-(( Any other idea what am I missing?? Thanks On Tuesday, January 8, 2013 6:31:51 PM UTC+1, Christopher Wood wrote:> > (inline) > > On Tue, Jan 08, 2013 at 08:30:23AM -0800, MrTeleBird wrote: > > Hello everyone! > > > > I am facing a problem by configuring the F5 Big-IP Module: > > [1] > http://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/ > > > > I installed GEM f5-icontrol on both, the master and the proxy. > > the file "device.conf" is configured on my proxy too. > > > > However, when i run: > > > > # puppet device --deviceconf /etc/puppet/device/lb-device.conf > > > > I got this error: > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > `gem_original_require'': no such file to load -- > > puppet/util/network_device/f5/device (LoadError) > > I''m apparently just a couple of steps behind you. I do have this file: > > /etc/puppet/modules/f5/lib/puppet/util/network_device/f5/device.rb > > Did you install the icontrol gem? For me: > > gem install /etc/puppet/modules/f5/files/f5-icontrol-10.2.0.2.gem > > In the web page, for puppet enterprise: > > /opt/puppet/bin/gem install > /etc/puppetlabs/puppet/modules/f5/files/f5-icontrol-10.2.0.2.gem > > > which I think is basically correct since there is not such F5 Network > > Device File on my proxy... > > > > Any hints on how could I solve this issue??? > > > > thanks a lot! > > Cesar > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Puppet Users" group. > > To view this discussion on the web visit > > [2]https://groups.google.com/d/msg/puppet-users/-/vVXPq7qc0esJ. > > To post to this group, send email to puppet...@googlegroups.com<javascript:>. > > > To unsubscribe from this group, send email to > > puppet-users...@googlegroups.com <javascript:>. > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > > > References > > > > Visible links > > 1. > http://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/ > > 2. https://groups.google.com/d/msg/puppet-users/-/vVXPq7qc0esJ >-- 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/-/qETJVAeIa2IJ. 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.
MrTeleBird
2013-Jan-09 14:01 UTC
Re: [Puppet Users] Problem: Managing F5 BIG-IP Network Devices with Puppet
Hi I have already solved the issue!! for the record. I forgot to export RUBYLIB path: # export RUBYLIB=/etc/puppet/modules/f5/lib/:$RUBYLIB on both master and proxy. After that it run smoothly. Thanks On Wednesday, January 9, 2013 8:47:58 AM UTC+1, MrTeleBird wrote:> > Hi Christopher, > yes I installed F5-IControl gem on both, my puppet server and the proxy > system. Is your puppet server the same machine as your proxy system?? > Yes, I do have the file > /etc/puppet/modules/f5/lib/puppet/util/network_device/f5/device.rb but I > have it on the machine running as puppet master, not in the machine > running as proxy system. > > I also installed the F5 module on my proxy system but it did not work > neither. Same result as before: > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require'': no such file to load -- > puppet/util/network_device/f5/device (LoadError) > > :-(( > > Any other idea what am I missing?? > > Thanks > > > On Tuesday, January 8, 2013 6:31:51 PM UTC+1, Christopher Wood wrote: >> >> (inline) >> >> On Tue, Jan 08, 2013 at 08:30:23AM -0800, MrTeleBird wrote: >> > Hello everyone! >> > >> > I am facing a problem by configuring the F5 Big-IP Module: >> > [1] >> http://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/ >> > >> > I installed GEM f5-icontrol on both, the master and the proxy. >> > the file "device.conf" is configured on my proxy too. >> > >> > However, when i run: >> > >> > # puppet device --deviceconf /etc/puppet/device/lb-device.conf >> > >> > I got this error: >> > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >> > `gem_original_require'': no such file to load -- >> > puppet/util/network_device/f5/device (LoadError) >> >> I''m apparently just a couple of steps behind you. I do have this file: >> >> /etc/puppet/modules/f5/lib/puppet/util/network_device/f5/device.rb >> >> Did you install the icontrol gem? For me: >> >> gem install /etc/puppet/modules/f5/files/f5-icontrol-10.2.0.2.gem >> >> In the web page, for puppet enterprise: >> >> /opt/puppet/bin/gem install >> /etc/puppetlabs/puppet/modules/f5/files/f5-icontrol-10.2.0.2.gem >> >> > which I think is basically correct since there is not such F5 >> Network >> > Device File on my proxy... >> > >> > Any hints on how could I solve this issue??? >> > >> > thanks a lot! >> > Cesar >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Puppet Users" group. >> > To view this discussion on the web visit >> > [2]https://groups.google.com/d/msg/puppet-users/-/vVXPq7qc0esJ. >> > To post to this group, send email to puppet...@googlegroups.com. >> > To unsubscribe from this group, send email to >> > puppet-users...@googlegroups.com. >> > For more options, visit this group at >> > http://groups.google.com/group/puppet-users?hl=en. >> > >> > References >> > >> > Visible links >> > 1. >> http://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/ >> > 2. https://groups.google.com/d/msg/puppet-users/-/vVXPq7qc0esJ >> >-- 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/-/Dtuz3I3zoXUJ. 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.