Skip to content
Snippets Groups Projects
Commit 067a27dd authored by František Dvořák's avatar František Dvořák
Browse files

Hadoop image: fix setup script

parent ea429dcb
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,12 @@ if ! hostname || ! hostname -f || ! ping -c1 `hostname` >/dev/null || ! ping -c1 ...@@ -4,6 +4,12 @@ if ! hostname || ! hostname -f || ! ping -c1 `hostname` >/dev/null || ! ping -c1
/usr/local/bin/fix-hostname.sh master hadoop /usr/local/bin/fix-hostname.sh master hadoop
fi fi
mkdir /data mkdir /data 2>/dev/null || :
puppet apply --test /root/single.pp \
&& puppet apply --test /root/single2.pp puppet apply --test /root/single.pp
if test $? = 0 -o $? = 2; then
puppet apply --test /root/single2.pp
else
echo "First stage setup failed"
exit $?
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment