On Thu, Jun 20, 2019 at 10:45 AM Michael Watters <[email protected]> wrote: > > 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?
You may be running into https://tickets.puppetlabs.com/browse/PUP-9602. Try deleting /mnt/live/puppeteer/conf.d/puppet/.resource_types Josh > > -- > 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/e93ac4af-6e04-4aae-96dc-0362b4290f50%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CA%2Bu97umjNLEJ37QfAda%3DW28%2BW44KMqeS%2Bej675WMWDRU%2B3fO_w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
