-
Notifications
You must be signed in to change notification settings - Fork 8
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
variable not resolved in native provider "concat" #65
Comments
This certainly is a bug, and it's probably not related to |
How do you reproduce this ? |
This is how I use the nginx module:
I am using |
I am pretty sure the first line can be replaced by
|
Note that the error looks a bit random. This is what I get while changing node:
PS: actually there is a small difference between the two nodes ... So it is not so random. For the first error ( |
I don't think you can replace |
I also get failures with version 0.0.10, but they are "obvious". For example, init requires, |
I have been trying to use github head to avoid the obvious errors from Point oneThe only
Point twoAbout the other error, the one you cannot reproduce and occurs only in one of my node, I believe I nail it !
What is going on it that after the merge of this pr The reason it does not work for one on that node is because I want to let the application define its upstream even if a vhost is never defined. So in a way even if I don't use the nginx class. It looks like this is not supported anymore. I have submitted an issue to ask if this is an intended change. So in conclusion, my sole interrogation at this point is why this fails (Point one) Thanks for your help ! |
Can you try printing one of the two variables in |
Is it even going there ? I do expect |
If I try notice("format log is ${format_log}"), it blows up with |
There aren't many options when compilation fails right now, but it certainly means here the |
So we have a One alternative is to rewrite
into
But it is hardly an improvement ;-) |
A way to fix this is to have That it fails is a goal of
|
Default values set to |
Well setting
|
I have just updated the nginx module from jfryman from 0.0.9 to 0.0.10.
I have an error that really looks like a bug:
Here is the error:
This is related to this line: https://github.com/jfryman/puppet-nginx/blob/master/manifests/resource/upstream.pp#L71
I don't see why the variable
nginx::config::conf_dir
is not resolved withconcat
while it was working withfile { "${nginx::config::conf_dir}/conf.d/${name}-upstream.conf":
.Could it be a bug I introduce while providing the
concat
provider ?The text was updated successfully, but these errors were encountered: