From f937d1ff7ca36a8af42b42bca44da4d372d34dbb Mon Sep 17 00:00:00 2001 From: Benedikt Trefzer Date: Thu, 27 Apr 2017 17:10:56 +0200 Subject: [PATCH] add ovs_status for debian This avoids messages about undefined variable on master log Change-Id: Ibecc364589f8e6eb047a727d483697c42a32f0fb --- manifests/params.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/params.pp b/manifests/params.pp index 91ce31f1..c212b466 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -45,6 +45,7 @@ class vswitch::params { $ovs_status = '/etc/init.d/openvswitch-switch status | fgrep -q "not running"; if [ $? -eq 0 ]; then exit 1; else exit 0; fi' # lint:ignore:140chars } else { $ovs_service_hasstatus = true + $ovs_status = undef } } default: {