salt/salt
Bruno Binet 284dcf7c03 Fix unreachable ssh-id-wrapper template when root_dir is relative
Since the git commands will be executed from the user home directory, if
salt root_dir is set to a relative path (for example using
`root_dir: ./.tmp/` in salt config), then the git/ssh-id-wrapper
template may be unreachable and we may encouter the following error that
this patch is fixing:

```
[ERROR   ] Command '[u'git', u'ls-remote', u'git@github.com:bbinet/salt-formula-linux.git']' failed with return code: 128
[ERROR   ] stderr: error: cannot run .tmp/thin/py2/salt/templates/git/ssh-id-wrapper: No such file or directory
fatal: unable to fork
[ERROR   ] retcode: 128
[ERROR   ] Failed to check remote refs: Unable to authenticate using identity file:

error: cannot run .tmp/thin/py2/salt/templates/git/ssh-id-wrapper: No such file or directory
fatal: unable to fork
```
2018-08-21 09:28:49 +02:00
..
acl Update old utils paths to new utils paths 2018-04-05 13:47:22 -04:00
auth Fixing a typo in a comment. 2018-08-10 10:16:27 -07:00
beacons Merge branch '2017.7' into '2018.3' 2018-08-08 13:31:57 -04:00
cache redis cache no utf8 of course 2018-08-19 02:00:50 +02:00
cli Fix configuration setting 2018-08-10 15:59:24 +02:00
client Revert api call: it is about "functionname_async" suffix. 2018-08-10 15:59:24 +02:00
cloud [2017.7] Update bootstrap script to latest release 2018-08-13 14:13:16 -04:00
config Merge branch '2017.7' into '2018.3' 2018-08-10 13:12:14 -04:00
daemons Rename async function to asynchronous 2018-08-10 15:59:23 +02:00
defaults
engines decode_reponses=True on all Redis API interfaces 2018-08-19 00:11:20 +02:00
executors
ext Merge branch '2017.7' into '2018.3' 2018-04-27 13:38:35 -04:00
fileserver Always trasfer bytes from fileserver roots 2018-07-23 09:43:45 -07:00
grains Merge branch '2017.7' into '2018.3' 2018-08-10 13:12:14 -04:00
log Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
modules Fix unreachable ssh-id-wrapper template when root_dir is relative 2018-08-21 09:28:49 +02:00
netapi Rename async function to asynchronous 2018-08-10 15:59:23 +02:00
output Clean up Sphinx warnings 2018-06-06 08:42:21 -05:00
pillar When pillar items are compiled a new render is instantiated but the file_roots is the pillar_roots. This change forces the __opts__['file_roots'] to be set to what is set in actual_file_roots for all renderers once compile_pillar has finished. Adding a test when this situation is run via a orchestration runner. 2018-07-02 11:55:46 -07:00
proxy Fix issue #48367 using the same approach as PR #46776 2018-06-29 15:53:07 -04:00
queues
renderers Clean up Sphinx warnings 2018-06-06 08:42:21 -05:00
returners decode_reponses=True on all Redis API interfaces 2018-08-19 00:11:20 +02:00
roster Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
runners Merge branch '2017.7' into '2018.3' 2018-07-27 11:44:07 -04:00
sdb Merge branch '2017.7' into '2018.3' 2018-06-25 10:41:06 -04:00
serializers Typo: test_type --> text_type 2018-05-25 16:10:52 -04:00
spm
states Merge pull request #49197 from dwoz/test_fix 2018-08-20 13:45:03 -05:00
templates
thorium Keep runner API unchanged 2018-08-10 15:59:24 +02:00
tokens decode_reponses=True on all Redis API interfaces 2018-08-19 00:11:20 +02:00
tops fixed top function which was broken since commit 002aa88a97 2018-04-04 10:15:02 -05:00
transport Fix docstrings 2018-08-10 15:59:23 +02:00
utils publicize salt.utils.get_vault_connection() 2018-08-19 00:22:37 +02:00
wheel Rename async function to asynchronous 2018-08-10 15:59:23 +02:00
__init__.py
_compat.py
crypt.py Merge branch '2017.7' into '2018.3' 2018-07-23 11:15:43 -04:00
exceptions.py
fileclient.py Merge branch '2017.7' into '2018.3' 2018-05-23 12:33:00 -04:00
key.py 2 salt-key fixes 2018-08-03 14:25:16 -05:00
loader.py Merge branch '2017.7' into '2018.3' 2018-08-10 13:12:14 -04:00
master.py Rename async function to asynchronous 2018-08-10 15:59:23 +02:00
minion.py fix async call to process manager 2018-08-13 16:51:21 -04:00
payload.py salt.payload.Serial: fix traceback when unpacking binary blob 2018-04-09 11:35:46 -05:00
runner.py Keep runner API unchanged 2018-08-10 15:59:24 +02:00
scripts.py Workaroung python bug in traceback.format_exc() 2018-03-27 11:03:03 -04:00
state.py Revert 7058f10 / 3df6fa7 2018-06-15 10:31:18 -05:00
syspaths.py Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
template.py
textformat.py
version.py Updating version.py to include Magnesium. 2018-04-20 18:34:19 -07:00