aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/provision2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/provision b/bin/provision
index a3036c2..d67c960 100755
--- a/bin/provision
+++ b/bin/provision
@@ -29,7 +29,7 @@ if [ ! -h "/etc/puppet/hiera.yaml" ]; then
fi
# Link puppet configuration if needed.
-if [ ! -h "/etc/puppet/puppet.conf" ]; then
+if [ ! -h "/etc/puppet/puppet.conf" ] && [ -e "$DIRNAME/../puppet.conf" ]; then
$SUDO rm -f /etc/puppet/puppet.conf
$SUDO ln -s $DIRNAME/../puppet.conf /etc/puppet/puppet.conf
fi