From: Silvio Rhatto Date: Fri, 28 Feb 2014 18:30:28 +0000 (-0300) Subject: Minor cleanup X-Git-Tag: 0.2.1~4 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8a6c4c27702469c01907dfba4b5bfe08cdc70df1;p=hydra.git Minor cleanup --- diff --git a/share/hydra/sync b/share/hydra/sync index 2b31cb0..25dccfd 100755 --- a/share/hydra/sync +++ b/share/hydra/sync @@ -77,16 +77,3 @@ if [ "$UPDATE_KEYRINGER" != "no" ]; then echo "Syncing keyringer..." keyringer $HYDRA git pull fi - -# Update puppet configuration. -if [ -z "$PUPPET" ]; then - echo "Searching for a puppet repository at $BASEDIR..." - PUPPET="$(dirname `find $BASEDIR -name puppet.conf | tail -n 1` 2> /dev/null)" - - if [ ! -z "$PUPPET" ]; then - if ! grep -q -e "^PUPPET=" $PREFERENCES; then - echo "Found puppet repository at $PUPPET." - echo "PUPPET=$PUPPET" >> $PREFERENCES - fi - fi -fi