diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/register | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hydra/register b/share/hydra/register index 48b027e..d9eeccb 100755 --- a/share/hydra/register +++ b/share/hydra/register @@ -45,7 +45,10 @@ echo "$HYDRA=\"$BASEDIR\"" >> $CONFIG echo "Searching for a puppet repository at $BASEDIR..." PUPPET="$(dirname `find $BASEDIR -name puppet.conf | tail -n 1`)" +# TODO: setup or clone initial repositories + if [ ! -z "$PUPPET" ]; then echo "Found puppet repository at $PUPPET." echo "PUPPET=$PUPPET" >> $PREFERENCES fi + |