On Sep 17, 2013, at 8:18 AM, Rahul Khengare <rahulk1...@gmail.com> 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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
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