From 305234afc3e11322acb479609cd31859fd8c8c07 Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Mar 27 2017 11:47:53 +0000 Subject: load the virt_cluster pillars only for atreju machines --- diff --git a/pillar/top.sls b/pillar/top.sls index 77ad41b..a547c96 100644 --- a/pillar/top.sls +++ b/pillar/top.sls @@ -15,7 +15,7 @@ production: - match: grain - role.{{ role }} {% endfor %} - {% if virt_cluster %} + {% if virt_cluster and virt_cluster == 'atreju' %} 'virt_cluster:{{ virt_cluster }}': - match: grain - virt_cluster.{{ virt_cluster }}