diff --git a/misc/patch.sh b/misc/patch.sh new file mode 100755 index 0000000..7a62886 --- /dev/null +++ b/misc/patch.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh +sudo patch -p0 --forward /usr/local/lib/python3.11/dist-packages/salt/tops/saltclass.py < saltclass.py.diff +sudo systemctl restart salt-master diff --git a/misc/saltclass.py.diff b/misc/saltclass.py.diff index 7bfca2a..e8f00f5 100644 --- a/misc/saltclass.py.diff +++ b/misc/saltclass.py.diff @@ -1,4 +1,4 @@ ---- /tmp/saltclass.py 2023-08-13 11:32:29.466897018 +0200 +--- /usr/local/lib/python3.11/dist-packages/salt/tops/saltclass.py.old 2023-08-13 11:32:29.466897018 +0200 +++ /usr/local/lib/python3.11/dist-packages/salt/tops/saltclass.py 2023-05-12 19:53:57.812134308 +0200 @@ -210,9 +210,12 @@