Skip to content

Commit

Permalink
Merge branch 'master' into theme-jet
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 5, 2019
2 parents 2e3f5ea + 62a073a commit 60de36e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pk1/engines/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ def remedy_scale_ambari_fast_scale_out():
"pip -qq install -U ambari\n" \
'yum -q -y install nmap-ncat 2>&1\n' \
'while ! echo exit | nc master1.packone 8080; do sleep 3; done 2>&1\n' \
"ambari master1.packone:8080 host clone slave.packone `hostname`"
"ambari master1.packone:8080 host clone slave.packone `hostname`\n" \
'ambari master1.packone:8080 service start'

def remedy_scale_ambari_fast_scale_in():
return '#ambari master1.packone:8080 host delete `hostname`'

0 comments on commit 60de36e

Please sign in to comment.