diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/init | 18 | ||||
-rwxr-xr-x | share/hydra/install | 2 | ||||
-rwxr-xr-x | share/hydractl/bootstrap | 2 | ||||
-rwxr-xr-x | share/hydractl/install | 2 |
4 files changed, 14 insertions, 10 deletions
diff --git a/share/hydra/init b/share/hydra/init index d21c003..c68b562 100755 --- a/share/hydra/init +++ b/share/hydra/init @@ -67,16 +67,20 @@ else fi # Create bootless repository - echo "Initializing bootless repository..." - hydra $HYDRA bootless init + if [ ! -d "$BASEDIR/bootless" ]; then + echo "Initializing bootless repository..." + hydra $HYDRA bootless init + fi # Create puppet repository - echo "Cloning initial puppet repository..." - git clone git://git.sarava.org/puppet-bootstrap.git $BASEDIR/puppet + if [ ! -d "$BASEDIR/puppet" ]; then + echo "Cloning initial puppet repository..." + git clone git://git.fluxo.info/puppet-bootstrap.git $BASEDIR/puppet - # Config puppet - echo "Configuring puppet repository..." - hydra_bootstrap_config $BASEDIR/puppet + # Config puppet + echo "Configuring puppet repository..." + hydra_bootstrap_config $BASEDIR/puppet + fi fi cat<<-EOF diff --git a/share/hydra/install b/share/hydra/install index 93ede8e..91a1226 100755 --- a/share/hydra/install +++ b/share/hydra/install @@ -30,7 +30,7 @@ fi # Validation if [ -z "$ORIGIN" ]; then - ORIGIN="git://git.sarava.org/hydra.git" + ORIGIN="git://git.fluxo.info/hydra.git" else ORIGIN_CONFIG="`hydra $HYDRA config git`" diff --git a/share/hydractl/bootstrap b/share/hydractl/bootstrap index 0d60b50..ce1d643 100755 --- a/share/hydractl/bootstrap +++ b/share/hydractl/bootstrap @@ -22,7 +22,7 @@ if [ "$STAGE" == "repository" ]; then hydractl puppet-install if [ ! -d "/etc/puppet/.git" ]; then - rm -rf /etc/puppet && git clone git://git.sarava.org/puppet-bootstrap /etc/puppet + rm -rf /etc/puppet && git clone git://git.fluxo.info/puppet-bootstrap /etc/puppet hydra_bootstrap_config /etc/puppet chown -R puppet. /etc/puppet fi diff --git a/share/hydractl/install b/share/hydractl/install index 7eb6830..0f43b4f 100755 --- a/share/hydractl/install +++ b/share/hydractl/install @@ -22,7 +22,7 @@ hydra_config_load # Validation if [ -z "$ORIGIN" ]; then - ORIGIN="git://git.sarava.org/hydra.git" + ORIGIN="git://git.fluxo.info/hydra.git" fi # Set sudo config |