--- # 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