salt.states.marathon_app module

Configure Marathon apps via a salt proxy.

2015.8.2 新版功能.

salt.states.marathon_app.absent(name)

Ensure that the marathon app with the given id is not present.

参数:name -- The app name/id
返回:A standard Salt changes dictionary
salt.states.marathon_app.config(name, config)

Ensure that the marathon app with the given id is present and is configured to match the given config values.

参数:
  • name -- The app name/id
  • config -- The configuration to apply (dict)
返回:

A standard Salt changes dictionary