Let's try to fix __env__ for gitstack
Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
3324b45ef1
commit
4493c80560
@ -89,7 +89,7 @@ def ext_pillar(minion_id, pillar, *repos, **single_repo_conf):
|
||||
init_gitpillar_args.append(salt.pillar.git_pillar.GLOBAL_ONLY)
|
||||
|
||||
# Initialize GitPillar object
|
||||
gitpillar = salt.utils.gitfs.GitPillar(opts, *init_gitpillar_args)
|
||||
gitpillar = salt.utils.gitfs.GitPillar(opts, *init_gitpillar_args, role="git_pillar")
|
||||
|
||||
else:
|
||||
# Include GLOBAL_ONLY args for Salt versions that require it
|
||||
@ -97,7 +97,7 @@ def ext_pillar(minion_id, pillar, *repos, **single_repo_conf):
|
||||
init_gitpillar_args.append(salt.pillar.git_pillar.GLOBAL_ONLY)
|
||||
|
||||
# Initialize GitPillar object
|
||||
gitpillar = salt.utils.gitfs.GitPillar(opts)
|
||||
gitpillar = salt.utils.gitfs.GitPillar(opts, role="git_pillar")
|
||||
gitpillar.init_remotes(*init_gitpillar_args)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user