From 1100432b95b18ce2a321490bba4020fe66a66c35 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 26 Nov 2016 03:02:27 +0100 Subject: [PATCH] fix switches --- salt/switches/HP-procurve-2824.expect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/switches/HP-procurve-2824.expect b/salt/switches/HP-procurve-2824.expect index 68c5850..976a63d 100644 --- a/salt/switches/HP-procurve-2824.expect +++ b/salt/switches/HP-procurve-2824.expect @@ -77,7 +77,7 @@ expect "(config)# " {%- endif %} -{%- if conf['nostp'] %} +{%- if conf.get('nostp') %} send "spanning-tree {{ conf['ports'] }} bpdu-filter\r" expect "(config)# " {%- endif %}