On Sep 17, 2013, at 8:18 AM, Rahul Khengare <[email protected]> wrote:

> 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.
> 

Make your package resource virtual and realise the resource in both modules.


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to