mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Moved git wrapper script to the package templates directory
This commit is contained in:
parent
b497b0712b
commit
8f69fa4fb9
4 changed files with 5 additions and 3 deletions
|
@ -13,3 +13,4 @@ recursive-include scripts *
|
||||||
include conf/*
|
include conf/*
|
||||||
recursive-include pkg *
|
recursive-include pkg *
|
||||||
recursive-include salt *.jinja
|
recursive-include salt *.jinja
|
||||||
|
include salt/templates/git/ssh-id-wrapper
|
||||||
|
|
|
@ -36,7 +36,8 @@ def _git_run(cmd, cwd=None, runas=None, identity=None, **kwargs):
|
||||||
|
|
||||||
if identity:
|
if identity:
|
||||||
env = {
|
env = {
|
||||||
'GIT_SSH': 'salt-git-ssh',
|
'GIT_SSH': os.path.join(salt.utils.templates.TEMPLATE_DIRNAME,
|
||||||
|
'ssh-id-wrapper'),
|
||||||
'GIT_IDENTITY': identity
|
'GIT_IDENTITY': identity
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -465,7 +465,8 @@ SETUP_KWARGS = {'name': NAME,
|
||||||
'package_data': {'salt.templates': [
|
'package_data': {'salt.templates': [
|
||||||
'rh_ip/*.jinja',
|
'rh_ip/*.jinja',
|
||||||
'debian_ip/*.jinja',
|
'debian_ip/*.jinja',
|
||||||
'virt/*.jinja'
|
'virt/*.jinja',
|
||||||
|
'git/*'
|
||||||
],
|
],
|
||||||
'salt.daemons.flo': [
|
'salt.daemons.flo': [
|
||||||
'*.flo'
|
'*.flo'
|
||||||
|
@ -620,7 +621,6 @@ else:
|
||||||
SETUP_KWARGS['scripts'].extend([
|
SETUP_KWARGS['scripts'].extend([
|
||||||
'scripts/salt',
|
'scripts/salt',
|
||||||
'scripts/salt-cloud',
|
'scripts/salt-cloud',
|
||||||
'scripts/salt-git-ssh',
|
|
||||||
'scripts/salt-key',
|
'scripts/salt-key',
|
||||||
'scripts/salt-master',
|
'scripts/salt-master',
|
||||||
'scripts/salt-run',
|
'scripts/salt-run',
|
||||||
|
|
Loading…
Add table
Reference in a new issue