include:
  - client.repos
  - minion.testsuite

salt-minion:
  pkg.installed:
    - require:
      - sls: client.repos
  service.running:
    - enable: True
    - watch:
      - pkg: salt-minion
{% if grains['for-development-only'] %}
      - file: master-configuration
{% endif %}


{% if grains['for-development-only'] %}

master-configuration:
  file.managed:
    - name: /etc/salt/minion.d/master.conf
    - contents: |
        master: {{grains['server']}}
    - require:
        - pkg: salt-minion

{% endif %}

include:
  - client.repos
  - minion.testsuite

minion:
  pkg.installed:
    - name: salt-minion
    - require:
      - sls: client.repos
  service.running:
    - name: salt-minion
    - enable: True
    - watch:
      - pkg: salt-minion
{% if grains['for-development-only'] %}
      - file: master-configuration
{% endif %}


{% if grains['for-development-only'] %}

master-configuration:
  file.managed:
    - name: /etc/salt/minion.d/master.conf
    - contents: |
        master: {{grains['server']}}
    - require:
        - pkg: salt-minion

{% endif %}

Fix id because it conflicts with something on suma
Fix id because it conflicts with something on suma

MalloZup/sumaform,MalloZup/sumaform,moio/sumaform,moio/sumaform,MalloZup/sumaform,moio/sumaform,MalloZup/sumaform