[Puppet Users] Re: How can I have a defined resource depend on a resource that is not in the global scope?

2012-01-09 Thread jcbollinger
On Jan 6, 9:10 pm, bel wrote: > I am working on this module: > > https://github.com/belminf/puppet-iptables > > I have this defined resource: > > define iptables::hole ($proto='tcp', $port, $source=undef) { >     firewall { "100 input: $name": >       chain => 'INPUT', >       proto => $proto, >

[Puppet Users] Re: How can I have a defined resource depend on a resource that is not in the global scope?

2012-01-16 Thread bel
Thank you all. Updated the module and now works without the import: https://github.com/belminf/puppet-iptables On Jan 9, 8:51 am, jcbollinger wrote: > On Jan 6, 9:10 pm, bel wrote: > > > > > > > > > > > I am working on this module: > > >https://github.com/belminf/puppet-iptables > > > I have th