Katello/puppet-certs - Puppet language error during agent run (success during apply),
We receive the following error  when executing puppet-certs with puppet agent.
We have submitted a bug to Puppet Labs to resolve this issue in puppet.
This bug is submitted to track progress of the resolution of this issue in the puppetlabs issue tracker.
Try to only submit Comments/Submissions and analysis to the puppetlabs ticket to track progress in a single location. Where possible.
 - Error: Failed to apply catalog: Parameter ca failed on Ca[katello-server-ca]: Expected Ca resource at /etc/puppet/modules/certs/manifests/init.pp:167
#2 Updated by eric sorenson over 2 years ago
Is the normal mode of operation for these modules to be used with puppet apply, and it's unusual for them to run in agent/master mode? That's the impression I got from the IRC conversation about this, but it'd be good to know more - the root cause seems very fundamental (json catalogs lose data type information, and it's up to the type to reconstitute it) so it's surprising to me that not many people have hit the problem.
#3 Updated by Daniel Lobato Garcia over 2 years ago
These modules are normally ran via foreman-installer, which in turn uses https://github.com/theforeman/kafo , which.. uses puppet apply. I'd expect to be able to use them in master/agent mode though. I'd need to look into the details and get a reproducing setup (from what I see on PUP-6960 it's not so hard to reproduce). We already do some checking on https://github.com/Katello/puppet-certs/blob/59857e16dccbeb6e9546179f1965560ccf9a674c/lib/puppet/type/certs_common.rb#L46
#7 Updated by Timo Goebel over 2 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset puppet-certs|9e5764641bff1e074cb463259b3ec321af76373e.