From c652a9c12f00d8b2bc589165c33709e887e807c7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 1 Oct 2014 13:33:11 -0300 Subject: Provision: link puppet config --- bin/provision | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/provision b/bin/provision index 7fa056b..61acf59 100755 --- a/bin/provision +++ b/bin/provision @@ -14,8 +14,14 @@ for package in sqlite3 libsqlite3-ruby libactiverecord-ruby ruby-sqlite3 usbutil provision_package $package done -# Make sure we have an initial hiera configuration. +# Link hiera configuration. if [ ! -h "/etc/puppet/hiera.yaml" ]; then sudo rm -f /etc/puppet/hiera.yaml sudo ln -s /vagrant/puppet/hiera/hiera.yaml /etc/puppet/hiera.yaml fi + +# Link puppet configuration. +if [ ! -h "/etc/puppet/puppet.conf" ]; then + sudo rm -f /etc/puppet/puppet.conf + sudo ln -s /vagrant/puppet/hiera/puppet.conf /etc/puppet/hiera.yaml +fi -- cgit v1.2.3