saltstack-formulas / nginx-formula

Nginx Salt Formula
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
163 stars 421 forks source link

Fix `nginx.servers_config` #239

Open myii opened 5 years ago

myii commented 5 years ago

Found this while reviewing https://github.com/saltstack-formulas/nginx-formula/pull/238#issuecomment-496024750.

This entry point is defined in the README but when called, results in the error:

Cannot extend ID 'nginx_service' in 'base:nginx.servers_config'. It is not part of the high state.

The workaround is to comment out these two lines:

https://github.com/saltstack-formulas/nginx-formula/blob/b9f78aa9575058d358df857f698705601ef64141/nginx/servers_config.sls#L116-L117

waynegemmell commented 4 years ago

Hi

This is still an issue for us. Any updates?

waynegemmell commented 4 years ago

I've disabled the mentioned lines, it fixes the problem as promised. I'd like the final solution to not include forcing the installation of nginx. My use case is just the config, the server installation gets in the way,