mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Salt - caching proxy - Make sure that configuration is correctly prepended to policy file
This commit is contained in:
parent
c1a47ddd11
commit
1cda4ca0d7
@ -1,6 +1,6 @@
|
||||
Name: 3isec-qubes-cacher
|
||||
Version: 1.15
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A caching proxy in Qubes
|
||||
|
||||
License: GPLv3+
|
||||
@ -79,6 +79,7 @@ if [ $1 -eq 1 ]; then
|
||||
qubesctl state.apply cacher.use
|
||||
qubesctl --skip-dom0 --templates state.apply cacher.change_templates
|
||||
elif [ $1 -eq 2 ]; then
|
||||
qubesctl state.apply cacher.use
|
||||
qubesctl --skip-dom0 --targets=template-cacher state.apply cacher.update
|
||||
fi
|
||||
|
||||
@ -96,6 +97,8 @@ if [ $1 -eq 0 ]; then
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Sun Mar 31 2024 unman <unman@thirdeyesecurity.org> - 1.15.2
|
||||
- Make sure that configuration is correctly prepended to policy file.
|
||||
* Thu Feb 22 2024 unman <unman@thirdeyesecurity.org> - 1.15
|
||||
- Bug fix
|
||||
* Sat Feb 10 2024 unman <unman@thirdeyesecurity.org> - 1.14
|
||||
|
@ -6,6 +6,7 @@ qvm-present-id:
|
||||
|
||||
/etc/qubes/policy.d/50-config-updates.policy:
|
||||
file.prepend:
|
||||
- header: True
|
||||
- text:
|
||||
- "qubes.UpdatesProxy * @tag:whonix-updatevm @default allow target=sys-whonix"
|
||||
- "qubes.UpdatesProxy * @tag:whonix-updatevm @anyvm deny"
|
||||
|
Loading…
Reference in New Issue
Block a user