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

Support string interpolation in Puppet #1290

Open
pyrmont opened this issue Jul 30, 2019 · 1 comment
Open

Support string interpolation in Puppet #1290

pyrmont opened this issue Jul 30, 2019 · 1 comment
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@pyrmont
Copy link
Contributor

pyrmont commented Jul 30, 2019

Is your enhancement request related to a problem? Please describe.
The Puppet lexer does not support string interpolation (see this comment).

Describe the solution you'd like
The Puppet lexer would support string interpolation. The below example should be lexed correctly:

notice("This computer has the following partitions:\n${facts["partitions"].map |$k,$v| { "$k mounted at ${v["mount"]} (${v["size"]})\n" }.join}")
@pyrmont pyrmont added the enhancement-request A request for an enhancement to be developed. label Jul 30, 2019
@pyrmont pyrmont added bugfix-request A request for a bugfix to be developed. and removed enhancement-request A request for an enhancement to be developed. labels Apr 8, 2020
@pyrmont pyrmont self-assigned this Apr 8, 2020
@pyrmont pyrmont removed their assignment Dec 9, 2020
@stale
Copy link

stale bot commented Jan 3, 2022

This issue has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days.
If you would like this issue to remain open, please reply and let us know if the issue is still reproducible.

@stale stale bot added the stale-issue There has been no activity for a year. label Jan 3, 2022
@stale stale bot closed this as completed Apr 16, 2022
@tancnle tancnle reopened this Apr 18, 2022
@stale stale bot removed the stale-issue There has been no activity for a year. label Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

No branches or pull requests

2 participants