Update node blocks to use regex
This commit updates node blocks to use regex. This is so that I can actually use it for my testing.
This commit is contained in:
parent
b63a9dbe07
commit
90c666326d
@ -31,8 +31,8 @@ $swift_user_password = 'swift_pass'
|
|||||||
$swift_shared_secret = 'changeme'
|
$swift_shared_secret = 'changeme'
|
||||||
$swift_local_net_ip = $ipaddress_eth0
|
$swift_local_net_ip = $ipaddress_eth0
|
||||||
|
|
||||||
$swift_proxy_address = '192.168.101.11'
|
$swift_proxy_address = '192.168.101.17'
|
||||||
$controller_node_public = '192.168.101.11'
|
$controller_node_public = '192.168.101.17'
|
||||||
|
|
||||||
$verbose = true
|
$verbose = true
|
||||||
|
|
||||||
@ -96,19 +96,19 @@ node swift_base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# The following specifies 3 swift storage nodes
|
# The following specifies 3 swift storage nodes
|
||||||
node 'swift_storage_1' inherits swift_base {
|
node /swift_storage_1/ inherits swift_base {
|
||||||
|
|
||||||
$swift_zone = 1
|
$swift_zone = 1
|
||||||
include role_swift_storage
|
include role_swift_storage
|
||||||
|
|
||||||
}
|
}
|
||||||
node 'swift_storage_2' inherits swift_base {
|
node /swift_storage_2/ inherits swift_base {
|
||||||
|
|
||||||
$swift_zone = 2
|
$swift_zone = 2
|
||||||
include role_swift_storage
|
include role_swift_storage
|
||||||
|
|
||||||
}
|
}
|
||||||
node 'swift_storage_3' inherits swift_base {
|
node /swift_storage_3/ inherits swift_base {
|
||||||
|
|
||||||
$swift_zone = 3
|
$swift_zone = 3
|
||||||
include role_swift_storage
|
include role_swift_storage
|
||||||
|
Loading…
Reference in New Issue
Block a user