solar/bootstrap/playbooks/tasks/puppet.yaml
Bogdan Dobrelya b7433917a4 Fix virtualbox packer, add libvirt packer
* Use Ubuntu 14.04.3 ISO instead ovf box
* Add a libvirt target as well
* Add additional build shell scripts from
  bogdando/packer-atlas-example
* Use sudo for all shell commands
* Fix virtualbox guest additions build order
* Cleanups to reduce end image size
* Update README how to build and up both for vbox/libvirt

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-10-27 12:35:35 +01:00

14 lines
529 B
YAML

---
# Puppet
- shell: sudo wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb -O /root/puppetlabs-release-trusty.deb
- shell: sudo dpkg -i /root/puppetlabs-release-trusty.deb
- shell: sudo apt-get update
- apt: name=puppet state=present
- template: src=files/hiera.yaml dest=/etc/puppet/hiera.yaml
- file: path=/etc/puppet/hieradata state=directory
# Make paths puppet 4 compatible
- file: path=/etc/puppetlabs/code/ state=directory
- file: src=/etc/puppet/hiera.yaml dest=/etc/puppetlabs/code/hiera.yaml state=link