Closed philipfreude closed 4 years ago
Using ensure_packages('git') for puppetmaster setup creates a duplicate declaration error when the package 'git' is included in another module with something else than ensure_packages('git') or ensure => present.
ensure_packages('git')
ensure => present
A good explanation can be found in this issue for another module: https://github.com/willdurand/puppet-composer/issues/44
I propose changing the
to a
if !defined(Package['git']) { ensure_packages('git') }
which will solve the issue.
see https://github.com/fraenki/puppet-acme/pull/30
Fix will be available in the upcoming 2.1.0.
Using
ensure_packages('git')
for puppetmaster setup creates a duplicate declaration error when the package 'git' is included in another module with something else thanensure_packages('git')
orensure => present
.A good explanation can be found in this issue for another module: https://github.com/willdurand/puppet-composer/issues/44
I propose changing the
to a
which will solve the issue.