Configure Marathon apps via a salt proxy.
my_app:
marathon_app.config:
- config:
cmd: "while [ true ] ; do echo 'Hello Marathon' ; sleep 5 ; done"
cpus: 0.1
mem: 10
instances: 3
New in version 2015.8.2.
salt.states.marathon_app.
absent
(name)¶Ensure that the marathon app with the given id is not present.
Parameters: | name -- The app name/id |
---|---|
Returns: | 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.
Parameters: |
|
---|---|
Returns: | A standard Salt changes dictionary |