mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 19:56:53 -04:00
- Release adds Python 3 support to report upload script Changes: https://github.com/theforeman/smart_proxy_salt/commits/master PR: 242761 Submitted by: junovitch
15 lines
510 B
Text
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
|