Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass schedule metaparam down to resources. #46

Merged
merged 1 commit into from
May 19, 2015
Merged

Pass schedule metaparam down to resources. #46

merged 1 commit into from
May 19, 2015

Conversation

robbat2
Copy link

@robbat2 robbat2 commented May 18, 2015

Signed-off-by: Robin H. Johnson robbat2@gentoo.org

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
@carlossg
Copy link
Member

Doesn't need the $schedule param in wget::fetch?

@robbat2
Copy link
Author

robbat2 commented May 18, 2015

No, all metaparams automatically exist in types, and should NOT be declared as params. If you DO add them, you get this warning from lint:
Warning: schedule is a metaparam; this value will inherit to all contained resources in the wget::fetch definition

@carlossg
Copy link
Member

cool, I asked before even trying it. Thanks!

carlossg added a commit that referenced this pull request May 19, 2015
Pass schedule metaparam down to resources.
@carlossg carlossg merged commit 1e25bfe into voxpupuli:master May 19, 2015
@robbat2 robbat2 deleted the feature/schedule branch May 20, 2015 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants