From b83d85abc0678cbb0f63f793ce95339ba39406d6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 28 Mar 2016 14:52:55 -0300 Subject: Check for puppet.conf on provision --- bin/provision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3