title: Rendering SLS: mapping values are not allowed here
body: <p>I try to place / remove a drop in config file based on a PILLAR variable.
  This was put in highstate/init.sls on my salt master.</p>
  
  <p>I cannot see any syntax error or spacing issues here.
  What am i doing wrong here?</p>
  
  <p>Here my SLS file</p>
  
  <pre><code>(% if pillar['highstateenabled'] == 'true' %)
  
  enable_highstate:
    file.managed:
      - name: /etc/salt/minion.d/highstate.conf
      - source: salt://common/salt-minion/files/minion.d/highstate.conf
      - template: jinja
  
  (% else %)
  
  disable_highstate:
    file.absent:
      - name: /etc/salt/minion.d/highstate.conf
  
  (% endif %)
  </code></pre>
  
  <p>And the output during salt-call:</p>
  
  <pre><code>---
  local:
      Data failed to compile:
  ----------
      Rendering SLS 'LAB:common.salt-minion' failed: mapping values are not allowed here; line 4
  
  ---
  
  (% if pillar['highstateenabled'] == 'true' %)
  
  enable_highstate:    &lt;======================
    file.managed:
      - name: /etc/salt/minion.d/highstate.conf
      - source: salt://common/salt-minion/files/minion.d/highstate.conf
      - template: jinja
  
  [...]
  ---
  </code></pre>