salt.states.heat module

Management of Heat

New in version 2017.7.0.

depends:
  • heat Python module
configuration:

See salt.modules.heat for setup instructions.

The heat module is used to create, show, list and delete Heat staks. Stack can be set as either absent or deploy.

heat.deployed:
  - name:
  - template: #Required
  - enviroment:
  - params: {}
  - poll: 5
  - rollback: False
  - timeout: 60

heat.absent:
  - name:
  - poll: 5
mysql:
heat.deployed:
  • template: salt://templates/mysql.heat.yaml
  • params: image: Debian 7
  • rollback: True
salt.states.heat.absent(name, poll=5, timeout=60, profile=None)

Ensure that the named stack is absent

name
The name of the stack to remove
poll
Poll(in sec.) and report events until stack complete
timeout
Stack creation timeout in minutes
profile
Profile to use
salt.states.heat.deployed(name, template=None, enviroment=None, params=None, poll=5, rollback=False, timeout=60, update=False, profile=None, **connection_args)

Deploy stack with the specified properties

name
The name of the stack
template
File of template
enviroment
File of enviroment
params
Parameter dict used to create the stack
poll
Poll(in sec.) and report events until stack complete
rollback
Enable rollback on create failure
timeout
Stack creation timeout in minutes
profile
Profile to use