From e5fc0b26f7727e03e21a55710ab7ed0f9714bdf6 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 20 May 2016 11:48:01 +0200 Subject: [PATCH] Cleanup nova_url warning Fix the logic to send a warning when nova_url is actually set. Until now, the warning was showed all the time because we didn't check is_service_default fact. Change-Id: Iee721eb590d13e43c7b1458868eab441693a4425 --- manifests/server/notifications.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/server/notifications.pp b/manifests/server/notifications.pp index 027b432d2..4ffa2b091 100644 --- a/manifests/server/notifications.pp +++ b/manifests/server/notifications.pp @@ -158,7 +158,7 @@ class neutron::server::notifications ( fail('You must provide either tenant_name or tenant_id.') } - if $nova_url { + if ! is_service_default ($nova_url) { warning('nova_url is deprecated and will be removed after Newton cycle.') }