From b9415d8f83940f042bdf15c09fff36d1a359270b Mon Sep 17 00:00:00 2001 From: zhulingjie Date: Thu, 13 Sep 2018 20:09:44 -0400 Subject: [PATCH] Provide more useful fail message Change-Id: I8b1a168bb94249c27d1bcbec56ed08a8c0fb56ce Closes-Bug: #1792719 --- manifests/params.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 7518e5a8..2e3cd9a7 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -88,7 +88,8 @@ class ironic::params { $syslinux_files = ['pxelinux.0', 'chain.c32', 'libcom32.c32', 'libutil.c32'] } default: { - fail("Unsupported osfamily ${::osfamily}") + fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, \ +module ${module_name} only support osfamily RedHat and Debian") } }