Puppet Class: swift::proxy::s3token

Defined in:
manifests/proxy/s3token.pp

Overview

Configure swift s3token.

Parameters

[auth_host] the keystone host
 Optional. Defaults to 127.0.0.1
[auth_port] the Keystone client API port
 Optional. Defaults to 5000
[auth_protocol] http or https
 Optional. Defaults to http

Dependencies

Examples

Authors

Francois Charlier fcharlier@ploup.net

Copyright 2012 eNovance licensing@enovance.com

Parameters:

  • auth_host (Any) (defaults to: '127.0.0.1')
  • auth_port (Any) (defaults to: '35357')
  • auth_protocol (Any) (defaults to: 'http')


24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'manifests/proxy/s3token.pp', line 24

class swift::proxy::s3token(
  $auth_host = '127.0.0.1',
  $auth_port = '35357',
  $auth_protocol = 'http'
) {

  include keystone::python

  concat::fragment { 'swift_s3token':
    target  => '/etc/swift/proxy-server.conf',
    content => template('swift/proxy/s3token.conf.erb'),
    order   => '28',
  }
}