Ricardo Carrillo Cruz 150f550d89 Initial commit
2015-03-27 09:47:58 +01:00

13 lines
424 B
YAML

---
# Install puppetmaster packages
- apt: name={{ item }} state=installed
with_items:
- puppetmaster-passenger
- hiera
- hiera-puppet
# Puppet apply the puppetmaster manifest
- command: >
puppet apply --modulepath='/opt/git/system-config/modules:/etc/puppet/modules'
-e 'class {"openstack_project::puppetmaster"':' puppetdb_server => "{{ hostvars[groups['puppetdb'][0]]['openstack']['name'] }}" }'