Fix swauth proxy config

Previously, the package for swauth of the swift
proxy was being added based on a variable that
was never set.

This commit updates that conditional to use the
correct variable.
This commit is contained in:
Dan Bode 2012-02-26 20:57:51 -08:00
parent 65b6f0a695
commit 6705d556cf

View File

@ -54,17 +54,17 @@ class swift::proxy(
fail('Keystone is currently not supported, it should be supported soon :)')
}
if($user_swauth) {
package { 'swift-proxy':
ensure => $package_ensure,
}
if($auth_type == 'swauth') {
package { 'python-swauth':
ensure => $package_ensure,
before => Package['swift-proxy'],
}
}
package { 'swift-proxy':
ensure => $package_ensure,
}
file { "/etc/swift/proxy-server.conf":
ensure => present,
owner => 'swift',