qusal/salt/dom0/install-dev.sls
Ben Grande 23bccebaab 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.
2024-01-18 09:21:21 +01:00

39 lines
754 B
Plaintext

{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] == 'dom0' -%}
include:
- sys-git.install-client
"{{ slsdotpath }}-dev-updated":
pkg.uptodate:
- refresh: True
"{{ slsdotpath }}-dev-installed":
pkg.installed:
- refresh: True
- install_recommends: False
- skip_suggestions: True
- pkgs:
- vim
- tmux
- xclip
- bash-completion
- man-db
- tree
"{{ slsdotpath }}-dev-pci-script":
file.managed:
- name: /usr/local/bin/qvm-pci-regain
- source: salt://{{ slsdotpath }}/files/bin/qvm-pci-regain
- mode: '0755'
- user: root
- group: root
- makedirs: True
{% endif -%}