Just for future reference. Look at unmanaged_chains_from_catalog method. https://github.com/puppetlabs/puppetlabs-firewall/pull/93/files
On Thursday, July 26, 2012 10:41:40 AM UTC+2, Anastasis Andronidis wrote: > > Hello, I am a new developer on puppet plugins. I am currently trying to > add a new feature to this plugin ( > https://github.com/puppetlabs/puppetlabs-firewall). > > My problem is that I need to access the catalog from the self.instances > function. The concept is that this plugin is making instances of firewall > rules through this function. I want to skip some rules so puppet can not > manage them. To do this I need to access the catalog from within this > function. > > Is there a way to do so? The only thing I was able to do until now, was to > access the catalog from any instance method of a provider though > resource.catalog. But this is not working on class method self.instances > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-dev/-/EHGgKnFWQtsJ. 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.
