Replace deprecated host param for monitors
Definition of the host parameter has been deprecated in favor of the hostname, which by default set to socket.gethostname(). Since instancemonitor started using hostname param, it should equal to the names compute has in `compute service list` To make this change backportable, we explicitly replace parameter to avoid confusion about missing parameter. Change-Id: I21c7c8cc90cb10afcc224c7cfb9c8c628e5a308b (cherry picked from commit 146824fd05389f6159d82661988331026ebc0938)
This commit is contained in:
parent
79a44cd9cc
commit
42167284f7
@ -1,5 +1,5 @@
|
||||
[DEFAULT]
|
||||
host = {{ ansible_host }}
|
||||
hostname = {{ ansible_facts['hostname'] }}
|
||||
processmonitor_manager = masakarimonitors.processmonitor.process.ProcessmonitorManager
|
||||
hostmonitor_manager = masakarimonitors.hostmonitor.host.HostmonitorManager
|
||||
use_journal = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user