From 1b7a465c47d32d7ab1d4e67d16707b6e3e1d5a02 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Thu, 14 Sep 2023 16:46:12 +0200 Subject: [PATCH] updated misc folder --- misc/patch.sh | 3 +++ misc/saltclass.py.diff | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 misc/patch.sh 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 @@