[Puppet Users] Re: Need help with defining same package resource in two modules

Rahul Khengare
Tue, 17 Sep 2013 06:18:40 -0000

Hi Mani,

Case2: A=true, when B runs it fails
> Error 400 on SERVER:
> Duplicate definition: Package[pkg1] is already defined in
> file A at line ; cannot redefine at
>
> How do i overcome this issue to complete the workflow of module B in both
> cases (where A is enabled or disabled)
>

If module A get enable then re-declaration of package[pkg1] resource is
happening. Here you can disable the module B.

Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.