Hide Forgot
Description of problem: > Failed to parse template candlepin/etc/candlepin/candlepin.conf.erb: > undefined method `empty?' for :undefined:Symbol at > /usr/share/katello/install/puppet/modules/candlepin/manifests/config.pp:24 > on node host1.example.com This line does not work in Puppet: <% unless scope.lookupvar("candlepin::params::katello_oauth_key").empty? -%> See this upstream bug: http://projects.puppetlabs.com/issues/8707 It seems we was not generating candlepin.conf until now (we now fix its permissions), so the template was always skipped.
For Puppet 2.6 this is not a problem.
Fixing to get it working on both Puppet 2.6 and 2.7. Pushing also a simple ERB syntax checker that now runs during RPM build. 8ea58f2 802252 - Adding ERB syntax checker to the SPEC 52f4ff3 802252 - Unable to install Katello on Puppet 2.7
And a fix: 58c5efd 802252 - adding missing Ruby build dependency
Moving all community bugs with fixes to closed.