Puppet Class: swift::proxy::swauth

Defined in:
manifests/proxy/swauth.pp

Overview

swauth_endpoint
swauth_super_admin_user

Parameters:

  • swauth_endpoint (Any) (defaults to: '127.0.0.1')
  • swauth_super_admin_key (Any) (defaults to: 'swauthkey')
  • package_ensure (Any) (defaults to: 'present')


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/proxy/swauth.pp', line 3

class swift::proxy::swauth(
  $swauth_endpoint = '127.0.0.1',
  $swauth_super_admin_key = 'swauthkey',
  $package_ensure = 'present'
) {

  package { 'python-swauth':
    ensure  => $package_ensure,
    before  => Package['swift-proxy'],
  }

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

}