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
  - environment:
  - 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

New in version 2017.7.5,2018.3.1: The spelling mistake in parameter enviroment was corrected to environment. The enviroment spelling mistake has been removed in Salt 3000.

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, environment=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

environment

File of environment

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

New in version 2017.7.5,2018.3.1: The spelling mistake in parameter enviroment was corrected to environment. The enviroment spelling mistake has been removed in Salt 3000.