Updated mcollective.init according to OSCI-658
[packages/precise/mcollective.git] / ext / debian / patches / pluginsdir.dpatch
diff --git a/ext/debian/patches/pluginsdir.dpatch b/ext/debian/patches/pluginsdir.dpatch
new file mode 100755 (executable)
index 0000000..ef56927
--- /dev/null
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## pluginsdir.dpatch by  <gisakrd@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix plugins dir
+
+@DPATCH@
+diff -urNad mcollective-1.1.4~/etc/client.cfg.dist mcollective-1.1.4/etc/client.cfg.dist
+--- mcollective-1.1.4~/etc/client.cfg.dist  2011-04-06 14:13:08.829462165 -0700
++++ mcollective-1.1.4/etc/client.cfg.dist 2011-04-06 14:12:53.129384114 -0700
+@@ -1,7 +1,7 @@
+ topicprefix = /topic/
+ main_collective = mcollective
+ collectives = mcollective
+-libdir = /usr/libexec/mcollective
++libdir = /usr/share/mcollective/plugins
+ logger_type = console
+ loglevel = warn
+diff -urNad mcollective-1.1.4~/etc/server.cfg.dist mcollective-1.1.4/etc/server.cfg.dist
+--- mcollective-1.1.4~/etc/server.cfg.dist  2011-04-06 14:12:30.889527230 -0700
++++ mcollective-1.1.4/etc/server.cfg.dist 2011-04-06 14:12:23.779407065 -0700
+@@ -1,7 +1,7 @@
+ topicprefix = /topic/
+ main_collective = mcollective
+ collectives = mcollective
+-libdir = /usr/libexec/mcollective
++libdir = /usr/share/mcollective/plugins
+ logfile = /var/log/mcollective.log
+ loglevel = info
+ daemonize = 1
+