-
Notifications
You must be signed in to change notification settings - Fork 283
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
Processing error with apache.manage_security state #153
Comments
It seems like changing L#26 to read as |
Think it might be related to this issue in salt: saltstack/salt#33686 |
@stokbaek that does sound like the issue... I'll push that Salt ticket through support and see if we can't get some more attention put on it. |
Including optional per-OS templates (Solves saltstack-formulas#153)
Including optional per-OS templates (Solves saltstack-formulas#153)
Including optional per-OS templates (Solves saltstack-formulas#153)
There seems to be an issue with the apache.manage_security.sls with the file.blockreplace & file.accumulated and I've not been able to determine if it's in the file state functions or the formula itself...
If I provide the following pillar excerpt to the minion:
What I'd expect from reading the manage_security.sls state file would be something like:
However, what I'm actually getting is:
Which when you run
apachectl configtest
or the formula attempts to restart Apache fails.Simply going and adding the carriage return and moving the "# END managed zone --" marker end string to a new line fixes the problem. Not sure if this is expected behavior with the blockreplace/accumulated file functions or if something is wrong in the formula but it makes using apache.managed_security useless.
The text was updated successfully, but these errors were encountered: