Swift Formula

Swift is a highly available, distributed, eventually consistent object/blob store. Organizations can use Swift to store lots of data efficiently, safely, and cheaply.

Sample Metadata

Swift proxy

swift:
  common:
    cache:
      engine: memcached
      members:
      - host: 127.0.0.1
        port: 11211
      - host: 127.0.0.1
        port: 11211
    enabled: true
    version: kilo
    swift_hash_path_suffix: hash
    swift_hash_path_prefix: hash
  proxy:
    version: kilo
    enabled: true
    bind:
      address: 0.0.0.0
      port: 8080
    identity:
      engine: keystone
      host: 127.0.0.1
      port: 35357
      user: swift
      password: pwd
      tenant: service

Swift storage

swift:
  common:
    cache:
      engine: memcached
      members:
      - host: 127.0.0.1
        port: 11211
      - host: 127.0.0.1
        port: 11211
    version: kilo
    enabled: true
    swift_hash_path_suffix: hash
    swift_hash_path_prefix: hash
  object:
    enabled: true
    version: kilo
    bind:
      address: 0.0.0.0
      port: 6000
  container:
    enabled: true
    version: kilo
    allow_versions: true
    bind:
      address: 0.0.0.0
      port: 6001
  account:
    enabled: true
    version: kilo
    bind:
      address: 0.0.0.0
      port: 6002

To enable object versioning feature

swift:
  ....
  container:
    ....
    allow_versions: true
    ....

Ring builder

parameters:
  swift:
    ring_builder:
      enabled: true
      rings:
        - name: default
          partition_power: 9
          replicas: 3
          hours: 1
          region: 1
          devices:
            - address: ${_param:storage_node01_address}
              device: vdb
            - address: ${_param:storage_node02_address}
              device: vdc
            - address: ${_param:storage_node03_address}
              device: vdd
        - partition_power: 9
          replicas: 2
          hours: 1
          region: 1
          devices:
            - address: ${_param:storage_node01_address}
              device: vdb
            - address: ${_param:storage_node02_address}
              device: vdc

Documentation and Bugs

To learn how to install and update salt-formulas, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate issue tracker. Use Github issue tracker for specific salt formula:

For feature requests, bug reports or blueprints affecting entire ecosystem, use Launchpad salt-formulas project:

You can also join salt-formulas-users team and subscribe to mailing list:

Developers wishing to work on the salt-formulas projects should always base their work on master branch and submit pull request against specific formula.

Any questions or feedback is always welcome so feel free to join our IRC channel:

#salt-formulas @ irc.freenode.net