[katello-devel] katello-foreman-all installation issues and workaround

Ivan Necas inecas at redhat.com
Fri May 17 13:09:46 UTC 2013


Hi,

With recent move of katello-configure to scl version of puppet, two issues
appeared when installting katello and foreman with it:

SELinux issue discussed in previous thread: temp workaround:

  setenforce 0

Foreman has some issues when system puppet not present:

/usr/share/foreman/lib/puppet_setting.rb:20:in `get': unable to get [:hostcert, 
:localcacert, :hostprivkey, :storeconfigs] Puppet setting, `/opt/rh/ruby193/root
/usr/bin/puppet master --confdir /etc/puppet/puppet.conf --vardir /var/lib/puppe
t --configprint hostcert,localcacert,hostprivkey,storeconfigs 2>&1` returned pid
 18101 exit 1: ^[[1;31mError: Could not intialize global default settings: could
n't find HOME environment -- expanding `~'^[[0m (RuntimeError)
        from /usr/share/foreman/app/models/setting/provisioning.rb:8:in `load_de
faults'
        from /usr/share/foreman/config/initializers/foreman.rb:12:in `each'

Temp workaround:

  yum install puppet

Both workarounds need to be done before running katello-configure

-- Ivan




More information about the katello-devel mailing list