Is there a way to disable metaparam checks, so that it won't break CI for my module?

I have something along these lines:

class my {
  stage {'mystage': before => Stage['main'] }

class my::conf (
  $stage = 'mystage',
) {

So, when I run:

bundle exec rake validate

I get this:

---> syntax:manifests
stage is a metaparam; this value will inherit to all contained resources in the my::conf definition
rake aborted!


Is there a way to avoid aborting tests in case metaparams are used?

You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To view this discussion on the web visit
For more options, visit

Reply via email to