summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-03 15:20:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-03 15:20:31 -0300
commit72d53ee47a6e62af63fbd9805b5eed08d9f0944d (patch)
tree0166ad2e4de7209c0f03cb321491a3e1e3620fb0 /share
parentcedac90b22bdd0ff823729b096e961685d5c25c7 (diff)
downloadhydra-72d53ee47a6e62af63fbd9805b5eed08d9f0944d.tar.gz
hydra-72d53ee47a6e62af63fbd9805b5eed08d9f0944d.tar.bz2
New function hydra_bootstrap_config
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/init2
-rwxr-xr-xshare/hydractl/bootstrap6
2 files changed, 2 insertions, 6 deletions
diff --git a/share/hydra/init b/share/hydra/init
index 46c2de6..d21c003 100755
--- a/share/hydra/init
+++ b/share/hydra/init
@@ -76,7 +76,7 @@ else
# Config puppet
echo "Configuring puppet repository..."
- ( cd $BASEDIR/puppet && make submodules && make config )
+ hydra_bootstrap_config $BASEDIR/puppet
fi
cat<<-EOF
diff --git a/share/hydractl/bootstrap b/share/hydractl/bootstrap
index c83a4b0..735908c 100755
--- a/share/hydractl/bootstrap
+++ b/share/hydractl/bootstrap
@@ -23,11 +23,7 @@ if [ "$STAGE" == "repository" ]; then
rm -rf /etc/puppet && git clone git://git.sarava.org/puppet-bootstrap /etc/puppet
chown -R puppet. /etc/puppet
-
- echo "Please edit /etc/puppet/manifests/config.pp to suit your needs..."
- echo "Press any key to continue, Ctrl-C to abort..."
- read option
- $EDITOR /etc/puppet/modules/bootstrap/manifests/config.pp
+ hydra_bootstrap_config /etc/puppet
fi
if [ -e "/etc/puppet/modules/bootstrap/manifests/$stage.pp" ]; then