Browse Source

Fix for salt control virt state.

The conflicting ID is 'libvirt_service' and is found in SLS:
- libvirt.server.service
- salt.control.virt

Change-Id: Ibb0b6f0a574a53f1cb8517a9fe0d7f0febb07bb3
pull/73/head
Dzmitry Stremkouski 6 years ago
parent
commit
2ffd3669a7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      salt/control/virt.sls

+ 2
- 2
salt/control/virt.sls View File



{%- if cluster.engine == "virt" %} {%- if cluster.engine == "virt" %}


libvirt_service:
salt_libvirt_service:
service.running: service.running:
- name: {{ control.virt_service }} - name: {{ control.virt_service }}
- enable: true - enable: true
{%- endif %} {%- endif %}
- unless: virsh list --all --name| grep -E "^{{ node_name }}.{{ cluster.domain }}$" - unless: virsh list --all --name| grep -E "^{{ node_name }}.{{ cluster.domain }}$"
- require: - require:
- libvirt_service
- salt_libvirt_service


#salt_control_seed_{{ cluster_name }}_{{ node_name }}: #salt_control_seed_{{ cluster_name }}_{{ node_name }}:
# module.run: # module.run:

Loading…
Cancel
Save