forgotten path-replacement in ressource.cfg

This commit is contained in:
Micha Glave
2011-07-05 23:29:41 +02:00
parent a87c12b4c1
commit edee38b9d9
2 changed files with 11 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
--- setup.py.orig 2011-06-23 10:21:23.000000000 +0200
+++ setup.py 2011-07-05 23:07:31.000000000 +0200
+++ setup.py 2011-07-05 23:23:26.000000000 +0200
@@ -174,9 +174,9 @@
buf = f.read()
f.close
@@ -38,6 +38,15 @@
# And now the resource.cfg path with the value of libexec path
# Replace the libexec path by the one in the parameter file
@@ -216,7 +216,7 @@
log.info('updating path in %s', outname)
update_file_with_string(inname, outname,
"/usr/local/shinken/libexec",
- self.plugins_path)
+ "/usr/lib/nagios/plugins")
# And update the nagios.cfg file for all /usr/local/shinken/var
# value with good one
@@ -230,7 +230,7 @@
## nagios.cfg & shinken-specific use now relative paths (relative to the "VAR" one)
update_file_with_string(inname, outname,