[Puppet Users] Resolving duplicated resources

2013-07-19 Thread Adam Cohen
So I've run into a bit of a problem that has bitten many others in the past: I'm using module A and module B which both require package C, and I'm ending up with a duplicated resource definition for the mod_ssl package. In my case, the modules are puppet-rvm

[Puppet Users] Re: Resolving duplicated resources

2013-07-21 Thread Adam Cohen
Thanks for the response Paul, I took a look at ensure_packages and it seems useful, but it of course has the same drawback as using defined, in that it'll only work if all modules use it. I've reduced my problem to the following. I created two modules, module1 and module2 as follows: *modules/

[Puppet Users] Re: Resolving duplicated resources

2013-08-06 Thread Adam Cohen
Thanks for the great response John, you've cleared up my confusion. I guess for now, I'll just have to live with a parse-order-dependency in my manifest, until I can get the time to fix the modules in question. At least I know now that it can't be solved cleanly without modifying the actual mo