-
Notifications
You must be signed in to change notification settings - Fork 417
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
Parameters in Pillar and in result file nginx.conf have different order #258
Comments
@pavel-z1 this is not possible because of how python interprets yaml. some issue on saltstack about this: |
Such behaviour cause issues on practice. For example, I need configure map in http section.
As result I will receive this configuration in nginx.conf:
With nginx error:
Variables $servername_key started to use before being defined in map. |
When we configure Nginx configuration file order for parameters is important.
When I use Nginx-formula version 2.3.1 I receive different parameters order in my nginx.conf file comparing with Pillar parameters.
For example,
Pillar:
Nginx configuration file nginx.conf:
How can be configured nginx formula to get the same parameters order in result files as in Pillar?
Salt version:
The text was updated successfully, but these errors were encountered: