Advertisement
Guest User

Untitled

a guest
Apr 25th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. @when('dcos-agent.installed')
  2. @when('dcosmaster.available')
  3. @when_not('dcos-agent.ready')
  4. def postInt(dcosmaster):
  5. setupMasterConfigs()
  6. status_set('maintenance', 'Running installer')
  7. process = check_output(["./pkgpanda", "setup"], cwd=basedir+"bin", env=setupEnvVars())
  8. log("open ports")
  9. hookenv.open_port(80)
  10. hookenv.open_port(8181)
  11. set_state('dcos-agent.ready')
  12. status_set('active', 'DC/OS Agent Running')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement