Pārlūkot izejas kodu

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 pirms 6 gadiem
vecāks
revīzija
2ffd3669a7
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      salt/control/virt.sls

+ 2
- 2
salt/control/virt.sls Parādīt failu

@@ -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:

Notiek ielāde…
Atcelt
Saglabāt