--- 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