-
Notifications
You must be signed in to change notification settings - Fork 231
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
Incorrect order in php-fpm.conf #17
Comments
Tried removing all settings: and worked like a dream. |
I was told to tag @cheuschober |
Hi @TaiSHiNet Thank you for CC'ing me on this. I'm the mad scientist responsible for the ng state above and the pillar merge parameter that enables this pattern. Your bug report is appreciated. I'll try to give this a look on Monday. In the meantime, some answers: Your issue with The issue of your parameter order is far more perplexing to me. Python dicts are unordered but (I think) the salt yaml parser for pillars and related should be throwing that data into OrderedDict objects. Pillar merging should also respect that. The default is an |
Thanks for your reply. Once again, thanks for replying and taking a look at this |
@TaiSHiNet, I've updated a branch with some fixes that might address your issues. Please test it and let me know if it works for you. If it does, I'll merge it to the main repo: https://github.com/spsoit/php-formula/tree/fixes_unordered_fpm_params |
http://puu.sh/a75cc/dfc05982f4.png It's still happening
|
Without stating the obvious, just to confirm, you're using the branch I specified, not master, right? If you point to it in the master config it's likely using the master branch. You'd have to pull it my branch specifically and not use the git backend (use it like a file_roots). Also, just for the sake of argument, could you post the output of: salt $yourhost pillar.get php:ng:fpm:config:conf:settings I want to confirm that the data that's making it into the map.jinja is ordered correctly. |
I'm an idiot. I was using master.
And your command returned blank result, guessing because it broke before. |
Running into the same issue, and same result using fixes_unordered_fpm_params branch. Any update? |
I will look into refactoring some of the code once I get some time for this. Thank for filing the bug! |
It is somehow related for php.ng. On current master branch, if any section is overwritten in pillar, the default from the section are no longer output to conf or ini. |
@cheuschober Any news on this? |
When doing a state.highstate with the following pillar:
Settings will be outputted like this:
And will break since include -should- be at the end of the config file
The text was updated successfully, but these errors were encountered: