https://github.com/bcambl/katello-register
Register hosts to a Katello/Satellite 6 Server
https://github.com/bcambl/katello-register
Last synced: over 1 year ago
JSON representation
Register hosts to a Katello/Satellite 6 Server
- Host: GitHub
- URL: https://github.com/bcambl/katello-register
- Owner: bcambl
- Created: 2016-06-07T05:13:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T18:03:54.000Z (about 8 years ago)
- Last Synced: 2025-02-27T11:28:46.515Z (over 1 year ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Katello/Satellite 6 Registration
================================
## Description
Provides a semi-automated Katello registration and basic puppet configuration.
The `register.py` script can be run stand-alone or with the included server-side
script which will remove the need to type activation keys and puppet environment
names generated by Katello (content view puppet environments).
## Components
#### `generate_registration_data.py`
Should be configured as a cronjob on each Katello/Satellite6 instance
The script will collect all available activation-keys, and relevant
puppet environments for an organization and publishes them as a json
along side the ca-consumer package in the apache `http:///pub`
directory.
You will need to update the following settings to suit your environment:
- org_name - Organization 'Name' of which to export activation-keys & puppet environments
#### `register.py`
Client side script that can be deployed to any directory on client hosts.
This script will perform the following:
- Append a host record to /etc/hosts for the chosen Katello instance
- Perform connectivity tests for required network ports
- Install the ca-consumer package for the chosen Katello instance
- Deploy subscription-manager fqdn fact overrides (consistency with puppet certname)
- Perform subscription-manager registration
- Install client packages (katello-agent, puppet)
- Configure Puppet using a puppet.conf template
- Execute Puppet run to generate client/server certificate exchange
- Enable/Start Puppet service
Customize the following settings to suit your environment:
- katello_servers - specify Katello/Satellite servers
- puppet_configuration_template - customize to your needs (default: noop true)
## Compatability
Servers OS | Service Version
-----------|----------------
RHEL 7.5 | Satellite 6.2.15
Client OS | Python Version
----------|----------------
RHEL 5.11 | 2.4.3
RHEL 6.9 | 2.6.6
RHEL 7.5 | 2.7.5
## TODO
-
-
-