What will happen to Puppet content on Red Hat Satellite server after upgrade to Satellite 6.10?
Environment
- Red Hat Satellite 6.10
- Puppet Content Removal
Issue
- What will happen to Puppet content on Satellite server after upgrade to Satellite 6.10?
- How can one take backup of Puppet modules before upgrading to Satellite 6.10?
Resolution
-
Publishing a Content View in Satellite 6.9 and earlier creates a Puppet Environment in Satellite. Hosts registered with Satellite only know about Puppet Environments.
-
Only the
Puppet repositories will be deleted from Satellite after upgrade to Satellite 6.10if any of the following conditions are met:- Any Puppet repositories are present in Library life cycle environment on Satellite.
- Puppet repositories present in unpublished content view/s on Satellite.
-
Any Puppet content that is in use by registered hosts will not be deleted like Puppet Environment and on disk Puppet content (
/etc/puppetlabs/code/environments) . Registered hosts will continue to use the Puppet modules after the Satellite 6.10 upgrade, but future Puppet content management must be handled outside of the Satellite. -
Backup instructions: If you would like to take the backup of uploaded/synced puppet modules before Satellite 6.10 upgrade then you can take backup of
/var/lib/pulp/content/units/puppet_module/directory on Satellite and keep it safe on a remote server.# tar -czvf /backup/directory/puppet_modules.tar.gz /var/lib/pulp/content/units/puppet_module
Keep the /backup/directory/puppet_modules.tar.gz file safely on the remote server.
For more KB articles/solutions related to Red Hat Satellite 6.x Puppet Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Puppet Issues
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.