diff --git a/manifests/conf.pp b/manifests/conf.pp index f1d78917..2e51942f 100644 --- a/manifests/conf.pp +++ b/manifests/conf.pp @@ -22,11 +22,11 @@ # === Parameters: # # [*args*] A Ceph config hash. -# Mandatory. +# Optional. # # [*defaults*] A config hash # Optional. Defaults to a empty hash # -class ceph::conf($args, $defaults = {}) { +class ceph::conf($args = {}, $defaults = {}) { create_resources(ceph_config, $args, $defaults) } diff --git a/manifests/keys.pp b/manifests/keys.pp index 090489aa..6c7bdcc5 100644 --- a/manifests/keys.pp +++ b/manifests/keys.pp @@ -22,11 +22,11 @@ # === Parameters: # # [*args*] A Ceph keys config hash -# Mandatory. +# Optional. # # [*defaults*] A keys config hash # Optional. Defaults to a empty hash. # -class ceph::keys($args, $defaults = {}) { +class ceph::keys($args = {}, $defaults = {}) { create_resources(ceph::key, $args, $defaults) } diff --git a/manifests/mons.pp b/manifests/mons.pp index 3998b651..c71ac8b0 100644 --- a/manifests/mons.pp +++ b/manifests/mons.pp @@ -22,11 +22,11 @@ # === Parameters: # # [*args*] A Ceph mons config hash -# Mandatory. +# Optional. # # [*defaults*] A config hash # Optional. Defaults to a empty hash # -class ceph::mons($args, $defaults = {}) { +class ceph::mons($args = {}, $defaults = {}) { create_resources(ceph::mon, $args, $defaults) } diff --git a/manifests/osds.pp b/manifests/osds.pp index 83b18da5..f20b6035 100644 --- a/manifests/osds.pp +++ b/manifests/osds.pp @@ -22,11 +22,11 @@ # === Parameters: # # [*args*] A Ceph osds config hash -# Mandatory. +# Optional. # # [*defaults*] A config hash # Optional. Defaults to a empty hash # -class ceph::osds($args, $defaults = {}) { +class ceph::osds($args = {}, $defaults = {}) { create_resources(ceph::osd, $args, $defaults) }