Hi ,
I have a question regarding managing puppet virtual Resource i have this
code:
class Carb::chocolatey {
include chocolatey
# [Make Chocolately default package provider]
Package { provider => chocolatey }
$packages = [ '7zip', 'dotnet4.5']
ensure_packages($packages)
}
my problem is that i have this resource declared in my base module and
whenever i try to apply this manifest on a node that has the base module i
get a "Duplicate Decleration" , is there a way to ensure i will install
both packages without changing my base module .
I know that when im using include class_name for example i can declare it
more than twice and i will not get an Error for duplicate Decleration , is
there a way to apply this on packages ?
Thanks,
Costya.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/2e9b8ccf-4f76-4645-86ec-29e74d348fea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.