浏览代码

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 年前
父节点
当前提交
2ffd3669a7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      salt/control/virt.sls

+ 2
- 2
salt/control/virt.sls 查看文件

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

正在加载...
取消
保存