]> gitweb.fluxo.info Git - hydra.git/commitdiff
Minor cleanup
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Feb 2014 18:30:28 +0000 (15:30 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Feb 2014 18:30:28 +0000 (15:30 -0300)
share/hydra/sync

index 2b31cb092d6075237f3147f13626cf4e01a41e89..25dccfd77b92b8bc7dcd5a65a2f380d5eb6bb80a 100755 (executable)
@@ -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