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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to