Skip to content

Instantly share code, notes, and snippets.

@robinbowes
Last active August 29, 2015 14:24
Show Gist options
  • Save robinbowes/4da04dcbb61827fb4768 to your computer and use it in GitHub Desktop.
Save robinbowes/4da04dcbb61827fb4768 to your computer and use it in GitHub Desktop.
puppet parser warning killing rspec tests
# this is the corrected function
define foo_bar(
$ensure = true,
) {
# blah
}
bundle exec rake test
---> syntax:manifests
tag is a metaparam; this value will inherit to all contained resources in the user_group definition
rake aborted!
define foo_bar(
$ensure = true,
$tag = undef,
) {
# blah
}
@robinbowes
Copy link
Author

tag is a metaparameter and can be added to any resource, built-in or defined. ie. it is not necessary to add it specifically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment