Update examples to use explicit pipelines

This updates the examples file to work with the
changes to swift::proxy.
This commit is contained in:
Dan Bode
2012-04-22 13:26:46 -07:00
parent 993ed67fd2
commit 8fd3d19431
2 changed files with 6 additions and 0 deletions

View File

@@ -70,6 +70,8 @@ class { 'swift::ringbuilder':
# TODO should I enable swath in the default config?
class { 'swift::proxy':
proxy_local_net_ip => $swift_local_net_ip,
pipeline => ['healthcheck', 'cache', 'tempauth', 'proxy-server'],
account_autocreate => true,
require => Class['swift::ringbuilder'],
}
class { ['swift::proxy::healthcheck', 'swift::proxy::cache', 'swift::proxy::tempauth']: }

View File

@@ -89,6 +89,7 @@ node 'swift_proxy' {
require => Class['role_swift_ringbuilder'],
}
}
node 'swift_ringbuilding' {
@@ -149,9 +150,12 @@ class role_swift_proxy inherits role_swift {
# TODO should I enable swath in the default config?
class { 'swift::proxy':
proxy_local_net_ip => $swift_local_net_ip,
pipeline => ['healthcheck', 'cache', 'tempauth', 'proxy-server'],
account_autocreate => true,
require => Class['swift::ringbuilder'],
}
class { ['swift::proxy::healthcheck', 'swift::proxy::cache', 'swift::proxy::tempauth']: }
}
class role_swift_storage inherits role_swift {