Files
packstack/packstack/puppet/templates/swift_builder.pp
Martin Magr 3d92f24ccc Plugins refactor
- Replaced CONFIG_<OS-component>_HOST(S) parameters for CONFIG_CONTROLLER_HOST,
  CONFIG_COMPUTE_HOSTS and CONFIG_NETWORK_HOSTS to minimize count of potential
  deployment architecture to maintainable level
- Unified coding style in plugins, PEP8-tized and forced pep8 check on them

Implements: blueprint simplification

Change-Id: I597f209b62d8d0c3709bb446cb33c804509eef9f
2014-05-22 10:54:21 +02:00

20 lines
438 B
Puppet

class { 'swift::ringbuilder':
part_power => '18',
replicas => '%(CONFIG_SWIFT_STORAGE_REPLICAS)s',
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 => "%(CONFIG_CONTROLLER_HOST)s",
}
if ($::selinux != "false"){
selboolean{'rsync_export_all_ro':
value => on,
persistent => true,
}
}