Consolidate duplicate 'Location' stanzas in pillar.example; SLS Rendering Error fix

This commit is contained in:
Noel McLoughlin 2017-08-24 20:58:37 +01:00
parent 1561224dfc
commit a07560a7ea

View File

@ -212,6 +212,14 @@ apache:
/error: /error:
Require: 'all granted' Require: 'all granted'
/docs:
Order: allow,deny # For Apache < 2.4
Allow: from all # For apache < 2.4
Require: all granted # For apache > 2.4.
Formula_Append: |
Additional config as a
multi-line string here
LocationMatch: LocationMatch:
'^[.\\/]+([Ww][Ee][Bb][Mm][Aa][Ii][Ll])[.\\/]': '^[.\\/]+([Ww][Ee][Bb][Mm][Aa][Ii][Ll])[.\\/]':
Require: False Require: False
@ -236,15 +244,6 @@ apache:
Alias: Alias:
/docs: /usr/share/docs /docs: /usr/share/docs
Location:
/docs:
Order: allow,deny # For Apache < 2.4
Allow: from all # For apache < 2.4
Require: all granted # For apache > 2.4.
Formula_Append: |
Additional config as a
multi-line string here
Formula_Append: | Formula_Append: |
Additional config as a Additional config as a
multi-line string here multi-line string here