commit | aa650ef589fab2a3556d5a1b131278e7e381871a | [log] [tgz] |
---|---|---|
author | Petr Michalec <epcim@apealive.net> | Wed Feb 15 16:48:23 2017 +0100 |
committer | Petr Michalec <epcim@apealive.net> | Wed Feb 15 16:48:23 2017 +0100 |
tree | 4867b6d452c3cb729356fd7233100092abef368f | |
parent | 9de94831034ac72681a0ad2c0af35abc22790c85 [diff] |
fix, case reclass.storage.node is not defined
diff --git a/reclass/storage/node.sls b/reclass/storage/node.sls index 0e911f6..6d835e9 100644 --- a/reclass/storage/node.sls +++ b/reclass/storage/node.sls
@@ -4,7 +4,7 @@ {{ storage.base_dir }}/nodes/_generated: file.directory -{%- for node_name, node in storage.node.iteritems() %} +{%- for node_name, node in storage.get('node', {}).iteritems() %} {%- if node.repeat is defined %}