From 94797b5c277f417219e1c4a6b73cea34cca3bc7e Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 8 Sep 2018 05:44:45 +0200 Subject: [PATCH 1/2] add libvirtd as dependency add libvirtd as dependency to correct https://github.com/edf-hpc/puppet-hpc/issues/46 --- puppet-config/modules/hpc_ha/manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet-config/modules/hpc_ha/manifests/params.pp b/puppet-config/modules/hpc_ha/manifests/params.pp index 08fcd121..4a423185 100644 --- a/puppet-config/modules/hpc_ha/manifests/params.pp +++ b/puppet-config/modules/hpc_ha/manifests/params.pp @@ -22,7 +22,7 @@ $systemd_config_options = { 'Unit' => { 'Description' => 'LVS and VRRP High Availability Monitor', - 'After' => 'syslog.target network.target', + 'After' => 'libvirtd.target syslog.target network.target', }, 'Service' => { 'Type' => 'forking', From d3780d5746a85dbd37799dff2d3c476e2fd15bdc Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 8 Sep 2018 06:02:59 +0200 Subject: [PATCH 2/2] isc-dhcp-server to end the correction of https://github.com/edf-hpc/puppet-hpc/issues/46 This `must` be tested .. IDK if having multiple service in $service is possible nor well written --- puppet-config/modules/hpc_ha/manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet-config/modules/hpc_ha/manifests/params.pp b/puppet-config/modules/hpc_ha/manifests/params.pp index 4a423185..87102769 100644 --- a/puppet-config/modules/hpc_ha/manifests/params.pp +++ b/puppet-config/modules/hpc_ha/manifests/params.pp @@ -17,7 +17,7 @@ $default_notify_script = '/usr/local/bin/hpc_ha_notify.sh' $delay_loop = '5' $persistence_timeout = '600' - $service = 'keepalived' + $service = 'keepalived isc-dhcp-server' $systemd_config_file = "/etc/systemd/system/${service}.service" $systemd_config_options = { 'Unit' => {