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
Fixes #11594 - snippets can be used in job templates #49
Conversation
Doesn't seem to work right for me - I created a snippet called 'asdf' and then included:
|
|
With latest foreman develop? Do you have safemode enabled? |
Yes to both, older ruby though. Let me check without |
It happens same for me regardless of parenthesis or not. I'm on ruby 2.1, but don't usually have any issues with it, I'll try it on 1.9.3. |
for me it seems to work even without parenthesis |
I dunno, still fails for me on 1.9.3. I'm running latest everything.
|
What's the source of your snippet? If my snippet is a JobTemplate it fails, but ProvisioningTemplate is OK.
|
I created a snippet under job template (see inspect below) but also snippets of other classes works for me.
Could you please paste the template attribute value of your snippet so I can reproduce locally? |
Oh disregard, total PEBKAC. And ACK. My 1 line snippet was missing a closing quote :-( |
Phew :-) thanks for reviewing, merging. |
Fixes #11594 - snippets can be used in job templates
No description provided.