Provide more useful fail message

Change-Id: Iced735d76b3bdaef795faf9599da453a20b091f1
Closes-Bug: #1792719
This commit is contained in:
zhulingjie 2018-09-13 20:10:25 -04:00
parent 041ac686c2
commit 83ea4f1f45

View File

@ -25,7 +25,8 @@ class oslo::params {
$python_memcache_package_name = 'python-memcache'
}
default: {
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, \
module ${module_name} only support osfamily RedHat and Debian")
}
} # Case $::osfamily