On Oct 7, 2009, at 8:46 PM, Matt Delves wrote:

>
>>>> On 8/10/2009 at 10:28 am, in message
> <[email protected]>, Luke Kanies
> <[email protected]> wrote:
>
>> You've got require lines in all four of these files; try removing all
>> of those and letting Puppet's autoloading system try to load them.
>>
>> If that doesn't work, then try doing it all manually in irb:
>>
>> irb
>>> require 'puppet'
>>> Puppet::Type.type(:firewall) # should return something
>>
>
> I gave that a shot with the results as follows bellow.
>
> irb
> irb(main):001:0> require 'puppet'
> => true
> irb(main):002:0> Puppet::Type.type(:firewall)
> => Puppet::Type::Firewall
> irb(main):003:0>  
> Puppet::Type.type(:firewall).provider(:iptables).populate
> NoMethodError: undefined method `populate' for  
> Puppet::Type::Firewall::ProviderIptables:Class
>        from (irb):3
> irb(main):004:0>
>
> Anything else I could try?

Well, they're clearly loading and they exist, so they're configured  
correctly from Puppet's perspective.

If you try them in a Puppet manifest, do they work?  I think your  
tests have too many requires for them to work ('require' fights with  
Puppet's autoloading system right now), but you should be able to try  
them in a manifest, if the above irb is working.

-- 
Never interrupt your enemy when he is making a mistake.
     --Napolean Bonaparte
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to