class application::docker::elastic (
Optional[String] $version
) {
}
With a key/value set to application::docker::elastic::version: ~ in hiera, language-puppet should not complain about a mandatory parameter not set :
ERROR: (docker.elastic.dev) The following mandatory parameters were not set: (version) when including class application::docker::elastic at ./manifests/site.pp:14:5
If you define such a class:
With a key/value set to
application::docker::elastic::version: ~
in hiera, language-puppet should not complain about a mandatory parameter not set :