diff --git a/manifests/proxy.pp b/manifests/proxy.pp index 2c894ad1..b4803fa3 100644 --- a/manifests/proxy.pp +++ b/manifests/proxy.pp @@ -95,7 +95,7 @@ class swift::proxy( $required_classes = split( inline_template( "<%= - (pipeline - ['proxy-server']).collect do |x| + (@pipeline - ['proxy-server']).collect do |x| 'swift::proxy::' + x.gsub(/-/){ %q(_) } end.join(',') %>"), ',') diff --git a/manifests/storage/server.pp b/manifests/storage/server.pp index 4961ee0d..3cc194ea 100644 --- a/manifests/storage/server.pp +++ b/manifests/storage/server.pp @@ -63,7 +63,7 @@ define swift::storage::server( $required_middlewares = split( inline_template( "<%= - (pipeline - ['${type}-server']).collect do |x| + (@pipeline - ['${type}-server']).collect do |x| 'Swift::Storage::Filter::' + x.capitalize + '[${type}]' end.join(',') %>"), ',')