We should support ipv6 or ipv4 only installation and we should set firewall according to ip version. Resolves-Bug: rhbz#1185652 Change-Id: I7bacf81373a6e0567e0c3fdebacf47cd5c683ad2
20 lines
442 B
Puppet
20 lines
442 B
Puppet
|
|
class { '::swift::ringbuilder':
|
|
part_power => '18',
|
|
replicas => hiera('CONFIG_SWIFT_STORAGE_REPLICAS'),
|
|
min_part_hours => 1,
|
|
require => Class['swift'],
|
|
}
|
|
|
|
# sets up an rsync db that can be used to sync the ring DB
|
|
class { '::swift::ringserver':
|
|
local_net_ip => hiera('CONFIG_STORAGE_HOST_URL'),
|
|
}
|
|
|
|
if str2bool($::selinux) {
|
|
selboolean { 'rsync_export_all_ro':
|
|
value => on,
|
|
persistent => true,
|
|
}
|
|
}
|