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

I have something along these lines:

my/manifests/init.pp:
class my {
  stage {'mystage': before => Stage['main'] }
}

my/manifests/conf.pp:
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/232c216b-2573-8712-4c61-51d45751257a%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to