Validate input of ceph::conf
This introduces the basic validation of ceph::conf class parameters. Change-Id: Icd3e7d75698d380c663c58b5f360c73911497f02
This commit is contained in:
parent
8bc67e20e7
commit
f0486bf8fc
@ -22,11 +22,14 @@
|
||||
# === Parameters:
|
||||
#
|
||||
# [*args*] A Ceph config hash.
|
||||
# Optional.
|
||||
# Optional. Defaults to an empty hash
|
||||
#
|
||||
# [*defaults*] A config hash
|
||||
# Optional. Defaults to a empty hash
|
||||
# Optional. Defaults to an empty hash
|
||||
#
|
||||
class ceph::conf($args = {}, $defaults = {}) {
|
||||
class ceph::conf(
|
||||
Hash $args = {},
|
||||
Hash $defaults = {}
|
||||
) {
|
||||
ensure_resources(ceph_config, $args, $defaults)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user