diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2020-12-16 18:35:30 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-12-16 21:45:00 -0800 |
commit | d86d834bde97b2563a713c68ed82aaf4e53add7e (patch) | |
tree | 195568fc4ad085f04df2e8ae37327f96c10f7198 /app-admin/salt/files | |
parent | net-libs/libgsasl: Stabilize 1.8.1 s390, #760381 (diff) | |
download | gentoo-d86d834bde97b2563a713c68ed82aaf4e53add7e.tar.gz gentoo-d86d834bde97b2563a713c68ed82aaf4e53add7e.tar.bz2 gentoo-d86d834bde97b2563a713c68ed82aaf4e53add7e.zip |
app-admin/salt-2019.2.8: Version bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-admin/salt/files')
-rw-r--r-- | app-admin/salt/files/salt-2019.2.8-ansible-roster-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/salt/files/salt-2019.2.8-ansible-roster-fix.patch b/app-admin/salt/files/salt-2019.2.8-ansible-roster-fix.patch new file mode 100644 index 000000000000..597c97e87774 --- /dev/null +++ b/app-admin/salt/files/salt-2019.2.8-ansible-roster-fix.patch @@ -0,0 +1,13 @@ +diff --git a/salt/roster/ansible.py b/salt/roster/ansible.py +index f4a2a23e0b..e6b9e80247 100644 +--- a/salt/roster/ansible.py ++++ b/salt/roster/ansible.py +@@ -129,7 +129,7 @@ def targets(tgt, tgt_type='glob', **kwargs): + + def _get_hosts_from_group(group): + inventory = __context__['inventory'] +- hosts = [host for host in inventory[group].get('hosts', [])] ++ hosts = [host for host in inventory.setdefault(group, {}).get('hosts', [])] + for child in inventory[group].get('children', []): + hosts.extend(_get_hosts_from_group(child)) + return hosts |