qusal/salt/sys-pihole/prefs.sls

29 lines
651 B
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
"{{ slsdotpath }}-change-prefs":
cmd.script:
- name: prefs.sh
- source: salt://{{ slsdotpath }}/files/admin/prefs.sh
{#
"{{ slsdotpath }}-start":
qvm.start:
- name: {{ slsdotpath }}
"{{ slsdotpath }}-qubes-prefs-updatevm":
cmd.run:
- require:
- qvm: "{{ slsdotpath }}-start"
- name: qubes-prefs updatevm {{ slsdotpath }}
"{{ slsdotpath }}-qubes-prefs-default_netvm":
cmd.run:
- require:
- qvm: "{{ slsdotpath }}-start"
- name: qubes-prefs default_netvm {{ slsdotpath }}
#}