From d5beb82ac689e2e32cf54d35a36e49eb23a00481 Mon Sep 17 00:00:00 2001 From: Alexander Fischer <afischer@opentext.com> Date: Fri, 22 Mar 2019 21:53:47 +0100 Subject: [PATCH] Support passing a saltenv to slsutil.renderer --- salt/modules/slsutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/slsutil.py b/salt/modules/slsutil.py index b08e6e5e5332..0cf1898ce0c7 100644 --- a/salt/modules/slsutil.py +++ b/salt/modules/slsutil.py @@ -170,7 +170,7 @@ def run(): renderers = salt.loader.render(__opts__, __salt__) if path: - path_or_string = __salt__['cp.get_url'](path) + path_or_string = __salt__['cp.get_url'](path, saltenv=kwargs.get('saltenv', 'base')) elif string: path_or_string = ':string:' kwargs['input_data'] = string