summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-10-01 13:34:05 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-10-01 13:34:05 -0300
commitc1af9eeeaef30150c33ff5c262998bf4b3744e14 (patch)
treebaa0030d388f57fbd793f31942a5160322f7774a
parent587f206824274d7d1cfcb1072ea8f818493bd317 (diff)
downloaddebian-c1af9eeeaef30150c33ff5c262998bf4b3744e14.tar.gz
debian-c1af9eeeaef30150c33ff5c262998bf4b3744e14.tar.bz2
Squashed 'puppet/' changes from 2979f23..c652a9c
c652a9c Provision: link puppet config git-subtree-dir: puppet git-subtree-split: c652a9c12f00d8b2bc589165c33709e887e807c7
-rwxr-xr-xbin/provision8
1 files changed, 7 insertions, 1 deletions
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