Hello all,
 I have two puppet modules A & B. A module is enabled or disabled with flag 
set to true or false respectively.
 I need a package pkg1 to do complete the workflow of B. 

Module A:
package { "pkg1":
    ensure => "installed"
 }

Module B:
package { "pkg1":
    ensure => "installed"
 }

Case1: A=false, When the B module runs, pkg1 is installed and works fine.

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)

Thanks,
Mani

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