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

Can't pass function via variable #238

Closed
deric opened this issue Feb 24, 2017 · 1 comment
Closed

Can't pass function via variable #238

deric opened this issue Feb 24, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@deric
Copy link
Contributor

deric commented Feb 24, 2017

I'd like to modify variables of a service with something like this

{{0.8 * macro("$cores$")}}

however the template always produces invalid statement with incorrect quotation:

{{ 0.8" * macro(""$cores$") }}"
@lbetz lbetz self-assigned this Feb 26, 2017
@lbetz lbetz added the bug label Feb 26, 2017
@lbetz lbetz closed this as completed in cea7819 Feb 26, 2017
@deric
Copy link
Contributor Author

deric commented Feb 27, 2017

Looks good. Thanks a lot! 👍

@bobapple bobapple added this to the v1.1.1 milestone Feb 28, 2017
@bobapple bobapple modified the milestones: v1.1.1, v1.2.0 Mar 13, 2017
n00by pushed a commit to n00by/puppet-icinga2 that referenced this issue Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants