ports/sysutils/rubygem-smart_proxy_salt/files/patch-sbin-upload-salt-reports
Matthias Fechner edad6f28a5 sysutils/rubygem-smart_proxy_salt: update 2.1.9 -> 3.1.2
- Release adds Python 3 support to report upload script

Changes:        https://github.com/theforeman/smart_proxy_salt/commits/master

PR:             242761
Submitted by:   junovitch
2020-12-19 12:57:22 +00:00

15 lines
510 B
Text

--- sbin/upload-salt-reports.orig 2020-12-19 12:46:33 UTC
+++ sbin/upload-salt-reports
@@ -3,9 +3,9 @@
from __future__ import print_function
-LAST_UPLOADED = '/etc/salt/last_uploaded'
-FOREMAN_CONFIG = '/etc/salt/foreman.yaml'
-LOCK_FILE = '/var/lock/salt-report-upload.lock'
+LAST_UPLOADED = '%%LOCALBASE%%/etc/salt/last_uploaded'
+FOREMAN_CONFIG = '%%LOCALBASE%%/etc/salt/foreman.yaml'
+LOCK_FILE = '/var/run/salt-report-upload.lock'
try:
from http.client import HTTPConnection, HTTPSConnection