Moved git wrapper script to the package templates directory

This commit is contained in:
Massimiliano Torromeo 2014-03-13 11:20:44 +01:00
parent b497b0712b
commit 8f69fa4fb9
4 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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
} }

View file

@ -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',