Skip to content

Commit

Permalink
fix: remove cacher proxy from updatevm
Browse files Browse the repository at this point in the history
Git revision is specified in the git module to Salt not fail trying to
verify it is in HEAD when it is in a tag from a previous installation.

Fixes: #27
  • Loading branch information
ben-grande committed Mar 14, 2024
1 parent ee7bfd5 commit 7c3d6ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions salt/sys-pihole/create.sls
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ features:
- service.cups-browsed
- service.tracker
- service.evolution-data-server
- service.updates-proxy-setup
- set:
- menu-items: "pihole-browser.desktop qubes-run-terminal.desktop qubes-start.desktop"
tags:
- del:
- updatevm-sys-cacher
{%- endload %}
{{ load(defaults) }}
Expand Down
2 changes: 2 additions & 0 deletions salt/sys-pihole/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{% set pihole_tag = 'v5.17.2' -%}

include:
- sys-cacher.uninstall-client
- dotfiles.copy-x11

"{{ slsdotpath }}-updated":
Expand Down Expand Up @@ -75,6 +76,7 @@ include:
"{{ slsdotpath }}-git-clone":
git.latest:
- name: https://github.com/pi-hole/pi-hole.git
- rev: {{ pihole_tag }}
- user: root
- target: /root/pi-hole
- force_fetch: True
Expand Down

0 comments on commit 7c3d6ac

Please sign in to comment.