An open API service indexing awesome lists of open source software.

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

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
-
-
-