Skip to content

Commit 06adf02

Browse files
cbaesemanMark T. Voelker
authored andcommitted
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 (cherry picked from commit 4b9e74a)
1 parent d3accf2 commit 06adf02

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

manifests/swift/storage-node.pp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
$byte_size = '1024',
1313
) {
1414

15-
class { 'swift':
16-
swift_hash_suffix => $swift_hash_suffix,
17-
package_ensure => $package_ensure,
15+
if !defined(swift){
16+
class { 'swift':
17+
swift_hash_suffix => $swift_hash_suffix,
18+
package_ensure => $package_ensure,
19+
}
1820
}
1921

2022
case $storage_type {

0 commit comments

Comments
 (0)