Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Nginx location as exported resource not working anymore #964
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g. Puppet code you use)
I need to define a location on an application server as an exported resource, that will get realized on another host with nginx installed. So on my appserver I only use:
What are you seeing
In an older version of
What behaviour did you expect instead
I would have expected to have things working, like they did before.
Any additional information you'd like to impart
Of cause, the appserver doesn't have an nginx installation, so I can't call
However when explicitly defining proxy_redirect in $location_params this seem to work. Then issue cascading to next parameter.. and so on... This means, that every parameter definition of
I kind of get what you're doing here, but I'm not totally sure what the expected behavior is, or what changes exactly caused this.
Is it possible to test with current git master branch and see if the behavior works as you expect? The next release will get rid of the
Usually, as I understand it, it's parameters that vary depending on, say, OS or other factors, are in params, other defaults are just assigned directly in the class params (if they're overridable). Does that kind of make sense?
If I understand correctly, it seems, that it is not fully clear, what I'm doing and why. I'll try to explain in other words:
I think this makes sense, however currently (where my issue comes from, i.e. for
So there are 2 possible approaches. Define useful parameter defaults in classes or defined types directly or encapsulate those in a
@ITler: Current version (git master, and soon to be released version) does not have an interface to
Yes, I understood, that
In my use case "define
Maybe another example:
Somehow (I can't explain why - maybe bug in puppet itself) I've got no problem on older puppet server version, but I'm forced to upgrade. So I run into that issues here. Also