Mirantis/puppet-bootstrap

Name: puppet-bootstrap

Owner: Mirantis Inc.

Description: Bootstrap scripts for Foreman and Puppet servers

Created: 2015-07-27 08:03:01.0

Updated: 2017-12-01 20:23:23.0

Pushed: 2015-07-28 20:46:36.0

Homepage: null

Size: 152

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

puppet-bootstrap

These scripts are for bootstrapping/standing up a Foreman server and Puppetmaster. They are intended to be used with the following projects and assume that you have your own fork/copy of those repositories with your data in them:

Installation:
Bootstrapping

Once your values are properly filled in in the bootstrap scripts, create a foreman server by running:

otstrap-foreman.sh

Once that is created, create a PuppetBD server by running:

otstrap-node.sh

When the initial run is done, login to foreman and edit the host. Add the following info:

meters -> global parameter -> application_tier = puppetdb
et classes = roles::puppet::db

Run puppet again on the node to stand up the puppetdb server.

et agent -t --server [your foreman server fqdn] --ca_server [your foreman server fqdn]

Once your puppetdb server is running, bootstrap a puppet master:

otstrap-master.sh

Once the initial run is done, login to foreman and edit the host. Add the following info:

meters -> global parameter -> application_tier = puppet
et classes = roles::puppet::master

Run puppet agein on the node to stand up the master:

et agent -t --server [your foreman server fqdn] --ca_server [your foreman server fqdn]

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.