Closed nomoresecrets closed 7 years ago
It would be nice to be able to specify the master node by $fqdn. Right now I have to use inheritance to define who's master and who's slave. Or using this (which works fine, but looks more like a hack to me):
$graylogmasterswitch = $fqdn ? { 'graylog2server01.domain' => true, default => false, } class { '::graylog2::server': is_master => $graylogmasterswitch, ... }
It would be nice to be able to specify the master node by $fqdn. Right now I have to use inheritance to define who's master and who's slave. Or using this (which works fine, but looks more like a hack to me):