I'm having an issue with the puppetlabs-stdlib module causing compilation failures using the puppet apply command.
> Error: Class 'stdlib' is already defined (file: /mnt/live/puppeteer/conf.d/puppet/modules/stdlib/manifests/init.pp, line: 16); cannot redefine (file: /mnt/live/puppeteer/conf.d/puppet/modules/stdlib/manifests/init.pp, line: 16) on node
host.example.com
The command used to apply our manifest is as follows.
puppet apply -d --noop --modulepath=puppet/modules --hiera_config=hiera.yaml ./
This node is running Fedora 29 with the puppet-headless package. No changes have been made to the manifest and I'm able to apply the same code on other nodes with an older version of puppet. Does anybody know how to resolve this or what would cause puppet to include the same class twice?