ansible-puppetmaster

Daniel Lawrence 7068562072 Added MIT LICENSE 4 years ago
tests d63d469efb Updated tests to speed up testing 5 years ago
.gitignore 16ff5530eb Configure puppetmaster via ansible 5 years ago
LICENSE 7068562072 Added MIT LICENSE 4 years ago
README.md 4ce87d5bf3 Install puppet-lint 4 years ago
hiera.conf.j2 16ff5530eb Configure puppetmaster via ansible 5 years ago
hosts.ini 0dc33a028d added local tests for centos and ubunut 5 years ago
install.yaml 9bda6c1bd5 Need root access to write gem into /var/lib/ruby/gems 4 years ago
puppet.conf.j2 42b346929c Allow install of puppet on hostname other than puppet 5 years ago
puppetdb.conf.j2 42b346929c Allow install of puppet on hostname other than puppet 5 years ago
r10k.yaml.j2 16ff5530eb Configure puppetmaster via ansible 5 years ago
routes.yaml.j2 16ff5530eb Configure puppetmaster via ansible 5 years ago

README.md

Ansible-puppetmaster

Install and configure puppetmaster via ansible!

Actions

Everything that will get a real puppetmaster up and running.

Install

  • puppet-master (3.6.2)
  • puppetdb & puppetdb-terinus (2.0.0)
  • hiera (1.3.4)
  • facter (2.0.2)
  • r10k (1.2.1)
  • git
  • puppet-lint

Configure puppetmater

  • with puppetdb via ssl (:8081)
  • hieradata in /etc/puppet/environments
  • r10k will sync hieradata

Installing

$ git clone git@github.com:daniellawrence/ansible-puppetmaster.git
$ mkvirtualenv ansible
$ pip install ansible

Running

Install a puppetmaster on a node called 'puppet' (change the hosts.ini)

$ ansible-playbook -i hosts.ini install.yaml

Testing

The tests assume that you have ansible and docker installed on your local machine. By running ./tests/run_tests.sh a new machine will be created and ansible will take over and install the puppetmaster.

The ubuntu:14.04 is also assumed to be installed locally.

Buildout

serverspec will make sure that everything is install and configured as it should be.