commit | dff0f414c4561468cf14b1055171e60c6a516425 | [log] [tgz] |
---|---|---|
author | Jakub Josef <jjosef@mirantis.com> | Mon Sep 04 11:19:22 2017 +0000 |
committer | Gerrit Code Review <gerrit2@b3fef64565ee> | Mon Sep 04 11:19:23 2017 +0000 |
tree | e085e700d62057d4a20a62cdc7d17efd7f324e30 | |
parent | 687d1f4af00e4334d7912266c0d39e9a2a4f38e5 [diff] | |
parent | 7a7ddfbf8fc54e733083a3da858b87af9b6033ea [diff] |
Merge "Fixed the dns records grain"
diff --git a/linux/meta/salt.yml b/linux/meta/salt.yml index 4cb2e8e..9ca9ee9 100644 --- a/linux/meta/salt.yml +++ b/linux/meta/salt.yml
@@ -21,7 +21,8 @@ {%- set dns_records = [] %} {%- for host_name, host in network.host.items() %} {%- if host.get('grain', False) %} - {%- do dns_records.append(host.pop('grain')) %} + {%- do host.pop('grain') %} + {%- do dns_records.append(host) %} {%- endif %} {%- endfor %} dns_records: