Each time a definition is "called" it defines all the resources. If the
definition for the virtual package isn't variable you should put it in a
class as classes get included only once. Otherwise you will have to
rename the resource depending on the variables of the definition
(doesn't seem the
Hi,
I get a "duplicate definition problem" with Puppet 0.24.8 when using
virtual ressource in a define:
Here is a sample :
define mydefine1 {
@package { postfix: }
}
define mydefine2 {
mydefine1 { $name: }
realize Package[postfix]
}
mydefine2 { test1: }
mydefine2 { test2: }
Here is the