From 23ad4b423035e5a74ddb27d28d16375c98c409fc Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 10 Jul 2024 22:18:51 +0900 Subject: [PATCH] Drop redundant class name from failure log Usually the class name is automatically displayed by puppet when the fail function is called, so we don't have to include it explicitly in the log. Change-Id: Id12525911e287587c385e78252fa4ed7f0a47e72 --- manifests/compute/libvirt/version.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/compute/libvirt/version.pp b/manifests/compute/libvirt/version.pp index 4a1ddebb3..27ac41760 100644 --- a/manifests/compute/libvirt/version.pp +++ b/manifests/compute/libvirt/version.pp @@ -23,7 +23,7 @@ class nova::compute::libvirt::version { } } default: { - fail("Class['nova::compute::libvirt::version']: Unsupported osname: ${::facts['os']['name']}") + fail("Unsupported osname: ${::facts['os']['name']}") } } }