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:
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:
'^[.\\/]+([Ww][Ee][Bb][Mm][Aa][Ii][Ll])[.\\/]':
Require: False
@ -236,15 +244,6 @@ apache:
Alias:
/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: |
Additional config as a
multi-line string here