Hi All,
In our test environment, puppet agent errors [1] when executing puppet-cert (http://<http://github.com/Katello/puppet-certs/><http://github.com/Katello/puppet-certs/><http://github.com/Katello/puppet-certs/><http://github.com/Katello/puppet-certs/><http://github.com/Katello/puppet-certs/><http://github.com/Katello/puppet-certs/><http://github.com/Katello/puppet-certs/>github.com/Katello/puppet-certs/<http://github.com/Katello/puppet-certs/>), where line 170 corresponds with the line indicated from init.pp [2]. The actual exception seems to be raised in lib/puppet/type/certs_comon.rb:46, where the value passed to the ca::ca has a value but is not a variable of type Puppet::Resource This seems odd, as the code works very well with puppet apply. Were using Centos7 httpd/passenger/puppet 3.8.7-1 Rob [1] - Error: Failed to apply catalog: Parameter ca failed on Ca[katello-server-ca]: Expected Ca resource at /etc/puppet/modules/certs/manifests/init.pp:170 [2]- $default_ca = Ca[$default_ca_name] if $certs::server_cert { ca { $certs::server_ca_name: ensure => present, generate => $certs::generate, deploy => $certs::deploy, custom_pubkey => $certs::server_ca_cert, } } else { ca { $certs::server_ca_name: ensure => present, generate => $certs::generate, deploy => $certs::deploy, ca => $certs::default_ca, } #<--- this line } Dr Robert Mattson Product Development 380 St Kilda Road, Melbourne, Victoria, 3004 Australia +61 3 9926 0000 phone robert.matt...@harris.com<mailto:robert.matt...@harris.com> www.c4i.com<http://www.c4i.com/> -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscr...@googlegroups.com. To post to this group, send email to foreman-users@googlegroups.com. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.