qusal/salt/dom0/install.sls
2024-01-29 16:49:54 +01:00

28 lines
563 B
Plaintext

{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{%- from "qvm/template.jinja" import load -%}
{% if grains['nodename'] == 'dom0' -%}
{% load_yaml as defaults -%}
name: {{ slsdotpath }}
force: True
features:
- set:
- qubes-vm-update-if-stale: 4
- qubes-vm-update-max-concurrency: 4
- qubes-vm-update-restart-system: 1
- qubes-vm-update-restart-other: 0
{%- endload %}
{{ load(defaults) }}
"{{ slsdotpath }}-updated":
pkg.uptodate:
- refresh: True
{% endif -%}