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:
parent
65b6f0a695
commit
6705d556cf
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user