- upgrade to 1.0.0 PR: 195404 Differential Revision: https://reviews.freebsd.org/D1276 Submitted by: Michael Moll <kvedulv@kvedulv.de> (maintainer) Approved by: swills (mentor)
15 lines
558 B
Text
15 lines
558 B
Text
--- sbin/upload-salt-reports.orig 2014-11-24 22:04:49.000000000 +0100
|
|
+++ sbin/upload-salt-reports 2014-11-24 22:04:56.000000000 +0100
|
|
@@ -1,9 +1,9 @@
|
|
#!/usr/bin/env python
|
|
# Uploads reports from the Salt job cache to Foreman
|
|
|
|
-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'
|
|
|
|
import urllib
|
|
import httplib
|