Problem: Managing F5 BIG-IP Network Devices with Puppet

181 views
Skip to first unread message

MrTeleBird

unread,
Jan 8, 2013, 11:30:23 AM1/8/13
to puppet...@googlegroups.com
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

Christopher Wood

unread,
Jan 8, 2013, 12:31:51 PM1/8/13
to puppet...@googlegroups.com
(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

MrTeleBird

unread,
Jan 9, 2013, 2:47:58 AM1/9/13
to puppet...@googlegroups.com, christop...@pobox.com
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

MrTeleBird

unread,
Jan 9, 2013, 9:01:23 AM1/9/13
to puppet...@googlegroups.com, christop...@pobox.com
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
Reply all
Reply to author
Forward
0 new messages