# salt.states.glance_image

## Management of OpenStack Glance Images

New in version 2018.3.0.

depends:

  shade

configuration:

  see `salt.modules.glanceng` for setup instructions

Example States

    create image:
      glance_image.present:
        - name: cirros
        - filename: cirros.raw
        - image_format: raw

    delete image:
      glance_image.absent:
        - name: cirros

salt.states.glance_image.absent(name, auth=None)

  Ensure image does not exist

  name

    Name of the image

salt.states.glance_image.present(name, auth=None, **kwargs)

  Ensure image exists and is up-to-date

  name

    Name of the image

  enabled

    Boolean to control if image is enabled

  description

    An arbitrary description of the image