salt.states.pyrax_queues

Manage Rackspace Queues

2015.5.0 新版功能.

Create and destroy Rackspace queues. Be aware that this interacts with Rackspace's services, and so may incur charges.

This module uses pyrax, which can be installed via package, or pip. This module is greatly inspired by boto_* modules from SaltStack code source.

myqueue:
    pyrax_queues.present:
        - provider: my-pyrax

myqueue:
    pyrax_queues.absent:
        - provider: my-pyrax
salt.states.pyrax_queues.absent(name, provider)

Ensure the named Rackspace queue is deleted.

name
Name of the Rackspace queue.
provider
Salt Cloud provider
salt.states.pyrax_queues.present(name, provider)

Ensure the RackSpace queue exists.

name
Name of the Rackspace queue.
provider
Salt Cloud Provider