
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: Id54c1a0efdb797ab10ddfb002c790d7e01e4e078
30 lines
697 B
Puppet
30 lines
697 B
Puppet
# == Class: mistral::coordination
|
|
#
|
|
# Setup and configure Mistral coordination settings.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*backend_url*]
|
|
# (Optional) Coordination backend URL.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
# [*heartbeat_interval*]
|
|
# (Optional) Number of seconds between heartbeats for coordination.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
class mistral::coordination (
|
|
$backend_url = $facts['os_service_default'],
|
|
$heartbeat_interval = $facts['os_service_default'],
|
|
) {
|
|
|
|
include mistral::deps
|
|
|
|
oslo::coordination{ 'mistral_config':
|
|
backend_url => $backend_url
|
|
}
|
|
|
|
mistral_config {
|
|
'coordination/heartbeat_interval': value => $heartbeat_interval;
|
|
}
|
|
}
|