Bug #17617
closed
Content view publishing puppet modules to wrong directory
Added by Leah Fisher almost 8 years ago.
Updated over 6 years ago.
Description
I installed a system with Katello 3.2 and puppet 3.8. Shortly afterwords, I ran the foreman-installer -S katello --upgrade-puppet and expected everything to just work. When I published a content view with puppet modules in it, it is still deploying the puppet modules to /etc/puppet/environments instead of the new directory /etc/puppetlabs/code/environments
I checked that the directory in the smart_proxy table was the /etc/puppetlabs/code/environments directory, but that doesn't seem to be what the publish is listening too. I also verified the pulp.yml foreman-proxy directory had the correct directory listed.
- Category set to 89
- Assignee set to Justin Sherrill
Looks like refreshing the smart proxy features should pull that value into the db again if it had changed. But even updating the db didn't seem to fully fix the problem so I'm going to look at this a bit more.
- Has duplicate Bug #18436: Puppet 4 upgrade does not change pulp's puppet_content_dir setting added
- Bugzilla link set to 1420868
Just noting the work-around discussed in IRC.
On Katello 3.2 installation on all katello & capsule instances:
sudo mv /etc/puppetlabs/code/environments /etc/puppetlabs/code/environments.theforeman.org#17617
sudo ln -s /etc/puppet/environments /etc/puppetlabs/code/
After the above fix I had to re-version & publish content views to get the classes to show up in the puppet environments. Otherwise I'd see "class not in environment" on tooltips when trying to add the class to the host(groups?).
- Status changed from New to Assigned
- Assignee changed from Justin Sherrill to Eric Helms
- Translation missing: en.field_release set to 219
- Has duplicate Bug #18131: foreman-installer --upgrade-puppet fails to set new paths for foreman-installer added
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello-installer/pull/486 added
- Pull request https://github.com/Katello/katello/pull/6651 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Pull request https://github.com/Katello/katello-installer/pull/489 added
- Has duplicate Bug #19690: publish/promote content view does not update puppet environment repo's puppet install path added
Also available in: Atom
PDF