Allow running of proxy and storage on the same node.
This adds a if defined check to avoid class conflicts when running swift proxy and storage on the same node. Change-Id: I60fb78e5d40605ab47f349d154737ef9bab641f4
This commit is contained in:
parent
a936e2b7b7
commit
4b9e74a7a2
|
@ -12,9 +12,11 @@ class openstack::swift::storage-node (
|
|||
$byte_size = '1024',
|
||||
) {
|
||||
|
||||
class { 'swift':
|
||||
swift_hash_suffix => $swift_hash_suffix,
|
||||
package_ensure => $package_ensure,
|
||||
if !defined(swift){
|
||||
class { 'swift':
|
||||
swift_hash_suffix => $swift_hash_suffix,
|
||||
package_ensure => $package_ensure,
|
||||
}
|
||||
}
|
||||
|
||||
case $storage_type {
|
||||
|
|
Loading…
Reference in New Issue