Hi @all,

does anyone have an idea what could be happening? I think this might be 
some sort of configuration error on the node, on the other hand, puppet 
obviously seems able to compile a catalog.
What could be the reason for such a difference in behaviour on Debian 9.7 
either on Vagrant or VMware?

Thanks for any hints, regards

Jochen

Am Dienstag, 29. Januar 2019 00:02:42 UTC+1 schrieb Jochen Haeberle:
>
> 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/4e0cd8c4-577f-42a6-a664-e6f4015fca5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to