Provide more useful fail message
Change-Id: I2dee0a925eaf380ee7751e4953c1e803c3510a7a Closes-Bug: #1792719
This commit is contained in:
@@ -68,7 +68,8 @@ class swift::params {
|
|||||||
$swift3 = 'openstack-swift-plugin-swift3'
|
$swift3 = 'openstack-swift-plugin-swift3'
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("Unsupported osfamily: ${::osfamily} for os ${::operatingsystem}")
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, \
|
||||||
|
module ${module_name} only support osfamily RedHat and Debian")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$swift_init_service_names = [
|
$swift_init_service_names = [
|
||||||
|
Reference in New Issue
Block a user