Hi, I am using serverless puppet apply on some nodes. I prepared a set of manifests using forge plugins. I developed everything using Vagrant quite fine.
Now I put my code via git on a debian 9.7 VM with puppet 6.2 and am getting the following errors: Error: Evaluation Error: Error while evaluating a Function Call, Duplicate declaration: Package[libapache2-mod-php7.3] is already declared at (file: /etc/puppetlabs/code/environments/production/modules/profile/manifests/software/apache.pp, line: 78); cannot redeclare (file: /etc/puppetlabs/code/environments/production/modules/profile/manifests/software/wordpress.pp, line: 24) (file: /etc/puppetlabs/code/environments/production/modules/profile/manifests/software/wordpress.pp, line: 24, column: 3) Both instances use the stdlib function ensure_packages. If I remove one of the instances, I will get the error with another package. puppetlabs/stdlib and all other modules are up to date, thanks to r10k, Code is working on a fresh vagrant machine. What can be the culprit of this? I have no idea where to look for this problem. Thanks in advance vor any hints, regards Jochen -- 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/1FF3C627-8E25-44EE-B188-5C23C3887BB1%40gmail.com. For more options, visit https://groups.google.com/d/optout.
