mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
30 lines
538 B
RPMSpec
30 lines
538 B
RPMSpec
|
Name: debian-11-salt
|
||
|
Version: 1.0
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Salt debian-11-template in Qubes
|
||
|
|
||
|
License: GPLv3+
|
||
|
SOURCE0: templates
|
||
|
|
||
|
%description
|
||
|
Salt state to implement debian-11 template in Qubes
|
||
|
|
||
|
%install
|
||
|
rm -rf %{buildroot}
|
||
|
mkdir -p %{buildroot}/srv/salt
|
||
|
cp -rv %{SOURCE0}/* %{buildroot}/srv/salt
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
/srv/salt/*
|
||
|
|
||
|
%post
|
||
|
if [ $1 -eq 1 ]; then
|
||
|
qubesctl state.apply template-debian-11
|
||
|
fi
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Sun May 15 2022 unman <unman@thirdeyesecurity.org> - 1.0
|
||
|
- First Build
|