qusal/salt/dom0/install.sls

28 lines
563 B
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
{#
2024-01-29 10:49:54 -05:00
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
2023-11-13 09:33:28 -05:00
SPDX-License-Identifier: AGPL-3.0-or-later
#}
2024-01-02 12:04:54 -05:00
{%- from "qvm/template.jinja" import load -%}
2023-11-13 09:33:28 -05:00
{% if grains['nodename'] == 'dom0' -%}
2024-01-02 12:04:54 -05:00
{% 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) }}
2023-11-13 09:33:28 -05:00
"{{ slsdotpath }}-updated":
pkg.uptodate:
- refresh: True
{% endif -%}