mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-17 18:30:33 -04:00
fix: dom0 as sys-git client
The salt module git.config_get does not work in Dom0 and does not have a key to set the system gitconfig.
This commit is contained in:
parent
5bc9c79974
commit
d0765f2055
5 changed files with 23 additions and 6 deletions
|
@ -29,6 +29,9 @@ include:
|
|||
'RedHat': {
|
||||
'exec_path': '/usr/libexec/git-core',
|
||||
},
|
||||
'Qubes OS': {
|
||||
'exec_path': '/usr/libexec/git-core',
|
||||
},
|
||||
}.get(grains.os_family) -%}
|
||||
|
||||
"{{ slsdotpath }}-install-client-git-core-dir":
|
||||
|
@ -46,3 +49,8 @@ include:
|
|||
- mode
|
||||
- user
|
||||
- group
|
||||
|
||||
"{{ slsdotpath }}-install-client-allow-protocol":
|
||||
cmd.run:
|
||||
- name: git config --system protocol.qrexec.allow always
|
||||
- runas: root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue