Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daviddavis/fc11eb83507a62206aa1 to your computer and use it in GitHub Desktop.
Save daviddavis/fc11eb83507a62206aa1 to your computer and use it in GitHub Desktop.
steps to test git puppet repo integration

PULP STEPS

These steps are maintained by Pulp. See their documentation for more info. You can either run these steps on your local satellite 6 box or you can run it on a remote system. If you run it on another system, you need to set up the repository and then install the necessary packages (yum -y install pulp-puppet-module-builder python-setuptools python-pulp-puppet-common httpd)

  1. Log into the box.
  2. Make a directory on your filesystem if there's not already one you want to use (mkdir -p /opt/puppet/modules)
  3. Change into that directory (cd /opt/puppet/modules)
  4. Run the pulp builder script and pass in your git repo url (pulp-puppet-module-builder --url=https://github.com/puppetlabs/puppetlabs-xinetd). The script should be already installed if you're on a sat6 box.
  5. If you're on a remote box, you'll have to make the directory public via http/https.

KATELLO STEPS

Once you have your pulp repo setup and can access it via the filesystem or http, follow these steps to get the repository into Katello.

  1. In the UI, create a new puppet repository
  2. Pass in the filesystem URL (e.g. "file://opt/puppet/modules") if it's on the sat6 box or the http/https URL if it's a remote box.
  3. Save your repo and then sync.
@cswiii
Copy link

cswiii commented Jun 6, 2014

In order to generate on/run against a remote source (i.e., step 2 in "Katello Steps" above)

yum -y install pulp-puppet-module-builder python-setuptools python-pulp-puppet-common httpd

@daviddavis
Copy link
Author

@cswiii, thx. I updated the guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment