I tried a few google searches on this, and attempted to look through
docs.puppetlabs.com, but couldnt find anything...
how do you make a module throw an error for an unrecognized parameter?
ie:
class setitup($machtype) {
case $machtype {
prod: { blah}
dev: {blah}
default: { error Unrecognized machtype parameter value }
}
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/_8zyA3QImNcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.