No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hieradata
modules
site/profile/manifests
Puppetfile
README.md
environment.conf
hiera.yaml
site.pp

README.md

Instructure config using masterless puppet

Started from the RHEL base as Amazon Linux caused problems. Facter < 1.7 does not recognise Amazon Linux as a compatible with RHEL so puppetlabs modules were not seeing a valid installation target.

Make the instance ready for puppet

  sudo yum update
  sudo yum install puppet
  sudo yum install vim
  sudo yum install git
  gem install r10k
  gem install hiera

R10k

Setup a control repo as described in the setup document

Modules defined in the Puppetfile can be installed using:

r10k puppetfile install -v

Link to puppet locations

sudo ln -s $REPO/hieradata/ /var/lib/hiera/

Apply puppet

sudo puppet apply --modulepath="./modules:site" ./site.pp --debug

References