diff --git a/manifests/proxy.pp b/manifests/proxy.pp index 5b81597e..dbd259c9 100644 --- a/manifests/proxy.pp +++ b/manifests/proxy.pp @@ -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',