aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/init
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydra/init')
-rwxr-xr-xshare/hydra/init7
1 files changed, 6 insertions, 1 deletions
diff --git a/share/hydra/init b/share/hydra/init
index 80dd449..3cf3074 100755
--- a/share/hydra/init
+++ b/share/hydra/init
@@ -107,12 +107,17 @@ else
# Create puppet repository
if [ ! -d "$BASEDIR/puppet" ]; then
echo "Cloning initial puppet repository..."
- git clone git://git.fluxo.info/puppet-bootstrap.git $BASEDIR/puppet
+ git clone https://git.fluxo.info/puppet-bootstrap $BASEDIR/puppet
# Config puppet
echo "Configuring puppet repository..."
hydra_bootstrap_config $BASEDIR/puppet
fi
+
+ # Create ansible repository
+ mkdir -p $BASEDIR/ansible
+ cp -r $APP_BASE/share/ansible $BASEDIR/ansible
+ hydra_git_init $BASEDIR/ansible
fi
# Reparse basedir to force absolute folder