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

@@ -20,7 +20,7 @@ update-guestfs-appliance:

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

libvirt_service:
salt_libvirt_service:
service.running:
- name: {{ control.virt_service }}
- enable: true
@@ -72,7 +72,7 @@ salt_control_virt_{{ cluster_name }}_{{ node_name }}:
{%- endif %}
- unless: virsh list --all --name| grep -E "^{{ node_name }}.{{ cluster.domain }}$"
- require:
- libvirt_service
- salt_libvirt_service

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

Loading…
Cancel
Save