Last active
August 29, 2015 14:24
-
-
Save robinbowes/4da04dcbb61827fb4768 to your computer and use it in GitHub Desktop.
puppet parser warning killing rspec tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is the corrected function | |
define foo_bar( | |
$ensure = true, | |
) { | |
# blah | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define foo_bar( | |
$ensure = true, | |
$tag = undef, | |
) { | |
# blah | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tag
is a metaparameter and can be added to any resource, built-in or defined. ie. it is not necessary to add it specifically.