Browse Source

Update virt.sls

Add ability to specify custom node name in reclass.
pull/44/head
Alexander Noskov 7 years ago
parent
commit
cdc61890fd
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      salt/control/virt.sls

+ 4
- 0
salt/control/virt.sls View File

@@ -43,6 +43,10 @@ update-guestfs-appliance:

{%- for node_name, node in cluster.node.iteritems() %}

{%- if node.name is defined %}
{%- set node_name = node.name %}
{%- endif %}

{%- if node.provider == grains.id %}

{%- set size = control.size.get(node.size) %}

Loading…
Cancel
Save