1.3. Using Standalone Hammer
You can install hammer
on a host that has no Satellite Server Server installed, and use it to connect the host to a remote Satellite.
Prerequisites
- Ensure that you register the host to Satellite Server or Capsule Server. For more information, see Registering a Host in the Provisioning Guide.
Ensure that you synchronize the following repositories on Satellite Server or Capsule Server. For more information, see Synchronizing Red Hat Repositories in the Content Management Guide.
- rhel-7-server-rpms
- rhel-server-rhscl-7-rpms
- rhel-7-server-satellite-tools-6.8-rpms
Procedure
On a host, complete the following steps to install hammer
:
Enable the Red Hat Enterprise Linux, Red Hat Software Collections and Red Hat Satellite Tools 6.8 repositories:
# subscription-manager repos --enable=rhel-7-server-rpms \ --enable=rhel-server-rhscl-7-rpms \ --enable=rhel-7-server-satellite-tools-6.8-rpms
Install
hammer
:# yum install tfm-rubygem-hammer_cli_katello
Edit the
:host:
entry in the/etc/hammer/cli.modules.d/foreman.yml
file to include the Satellite IP address or FQDN.:host: 'https://satellite.example.com'