Re: [Puppet Users] duplicate resources across defined types

2012-08-02 Thread Joe Topjian
> > I made a few inline comments > Thank you. > should be fixed in master. > Yup, looks good. I will open a pull request for this. -- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca Cybera is a not-for-profit organization that works to spur and support innovation, for the econom

Re: [Puppet Users] duplicate resources across defined types

2012-08-02 Thread Dan Bode
On Thu, Aug 2, 2012 at 7:09 AM, Joe Topjian wrote: > Hi Dan, > > >> virtual resources are definitely intended to solve the same problem, but >> they would not work for this use case b/c multiple declarations of the same >> virtual resource still result in the duplicate definition failures. >> >>

Re: [Puppet Users] duplicate resources across defined types

2012-08-02 Thread Joe Topjian
Hi Dan, > virtual resources are definitely intended to solve the same problem, but > they would not work for this use case b/c multiple declarations of the same > virtual resource still result in the duplicate definition failures. > > virtual resources can also be problematic b/c collecting resou

Re: [Puppet Users] duplicate resources across defined types

2012-08-01 Thread Dan Bode
On Wed, Aug 1, 2012 at 7:37 PM, Joe Topjian wrote: > Hi Dan, > > This is actually a pretty common modeling problem in Puppet. >> > > I figured it had to be common as this type of configuration can exist in a > lot of other system administration areas. > > >> I just wrote a function called ensure_

Re: [Puppet Users] duplicate resources across defined types

2012-08-01 Thread Joe Topjian
Hi Dan, This is actually a pretty common modeling problem in Puppet. > I figured it had to be common as this type of configuration can exist in a lot of other system administration areas. > I just wrote a function called ensure_resource that is intended to solve > this problem. > > https://gith

Re: [Puppet Users] duplicate resources across defined types

2012-08-01 Thread Dan Bode
Hi Joe, On Tue, Jul 31, 2012 at 6:41 PM, Joe Topjian wrote: > Hello, > > I am hoping that someone might be able to shed some light on the best way > to solve an issue. > > > https://github.com/puppetlabs/puppetlabs-apache/commit/c2c75a62b7dafced8a6120a14bacfc8be7539282

[Puppet Users] duplicate resources across defined types

2012-07-31 Thread Joe Topjian
Hello, I am hoping that someone might be able to shed some light on the best way to solve an issue. https://github.com/puppetlabs/puppetlabs-apache/commit/c2c75a62b7dafced8a6120a14bacfc8be7539282