Merge "Ensure swift.conf created in all scenarios"
This commit is contained in:
commit
f2b7397fb6
|
@ -32,10 +32,12 @@ class openstack::swift::proxy (
|
|||
} else {
|
||||
$real_keystone_host = $keystone_host
|
||||
}
|
||||
class { 'swift':
|
||||
swift_hash_suffix => $swift_hash_suffix,
|
||||
package_ensure => $package_ensure,
|
||||
}
|
||||
|
||||
ensure_resource('class', 'swift',
|
||||
{ swift_hash_suffix => $swift_hash_suffix,
|
||||
package_ensure => $package_ensure,
|
||||
}
|
||||
)
|
||||
|
||||
if $memcached {
|
||||
class { 'memcached':
|
||||
|
|
|
@ -12,12 +12,11 @@ class openstack::swift::storage-node (
|
|||
$byte_size = '1024',
|
||||
) {
|
||||
|
||||
if !defined(swift){
|
||||
class { 'swift':
|
||||
swift_hash_suffix => $swift_hash_suffix,
|
||||
ensure_resource('class', 'swift',
|
||||
{ swift_hash_suffix => $swift_hash_suffix,
|
||||
package_ensure => $package_ensure,
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
case $storage_type {
|
||||
'loopback': {
|
||||
|
|
Loading…
Reference in New Issue