diff --git a/manifests/proxy/cache.pp b/manifests/proxy/cache.pp index e779d778..a4023f31 100644 --- a/manifests/proxy/cache.pp +++ b/manifests/proxy/cache.pp @@ -23,7 +23,7 @@ class swift::proxy::cache( ) { # require the memcached class if its on the same machine - if $memcache_servers =~ /^127\.0\.0\.1/ { + if grep(any2array($memcache_servers), '^127\.0\.0\.1') { Class['memcached'] -> Class['swift::proxy::cache'] }