07ba476ecc6a031f3bd53caf3f9214e66eaf6821
[packages/precise/mcollective.git] / debian / patches / conffile.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## conffile.dpatch by  <giskard@debian.org
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: default config options
6
7 @DPATCH@
8 diff -urNad mcollective-0.4.1~/etc/client.cfg mcollective-0.4.1/etc/client.cfg
9 --- mcollective-0.4.1~/etc/client.cfg   1970-01-01 00:00:00.000000000 +0000
10 +++ mcollective-0.4.1/etc/client.cfg    2010-01-06 14:37:24.000000000 +0000
11 @@ -0,0 +1,19 @@
12 +topicprefix = /topic/mcollective
13 +libdir = /usr/share/mcollective/plugins
14 +logger_type = console
15 +loglevel = warn
16 +
17 +# Plugins
18 +securityprovider = psk
19 +plugin.psk = unset
20 +
21 +connector = activemq
22 +plugin.activemq.pool.size = 1
23 +plugin.activemq.pool.1.host = stomp1
24 +plugin.activemq.pool.1.port = 6163
25 +plugin.activemq.pool.1.user = mcollective
26 +plugin.activemq.pool.1.password = marionette
27 +
28 +# Facts
29 +factsource = yaml
30 +plugin.yaml = /etc/mcollective/facts.yaml
31 +
32 diff -urNad mcollective-0.4.1~/etc/client.cfg.dist mcollective-0.4.1/etc/client.cfg.dist
33 --- mcollective-0.4.1~/etc/client.cfg.dist      2010-01-02 14:54:25.000000000 +0000
34 +++ mcollective-0.4.1/etc/client.cfg.dist       1970-01-01 00:00:00.000000000 +0000
35 @@ -1,19 +0,0 @@
36 -topicprefix = /topic/mcollective
37 -libdir = /usr/libexec/mcollective
38 -logger_type = console
39 -loglevel = warn
40 -
41 -# Plugins
42 -securityprovider = psk
43 -plugin.psk = unset
44 -
45 -connector = stomp
46 -plugin.stomp.host = stomp.your.com
47 -plugin.stomp.port = 6163
48 -plugin.stomp.user = mcollective
49 -plugin.stomp.password = marionette
50 -
51 -# Facts
52 -factsource = yaml
53 -plugin.yaml = /etc/mcollective/facts.yaml
54 -
55 diff -urNad mcollective-0.4.1~/etc/facts.yaml mcollective-0.4.1/etc/facts.yaml
56 --- mcollective-0.4.1~/etc/facts.yaml   1970-01-01 00:00:00.000000000 +0000
57 +++ mcollective-0.4.1/etc/facts.yaml    2010-01-06 14:37:27.000000000 +0000
58 @@ -0,0 +1,2 @@
59 +---
60 +mcollective: 1
61 diff -urNad mcollective-0.4.1~/etc/facts.yaml.dist mcollective-0.4.1/etc/facts.yaml.dist
62 --- mcollective-0.4.1~/etc/facts.yaml.dist      2010-01-02 14:54:25.000000000 +0000
63 +++ mcollective-0.4.1/etc/facts.yaml.dist       1970-01-01 00:00:00.000000000 +0000
64 @@ -1,2 +0,0 @@
65 ----
66 -mcollective: 1
67 diff -urNad mcollective-0.4.1~/etc/server.cfg mcollective-0.4.1/etc/server.cfg
68 --- mcollective-0.4.1~/etc/server.cfg   1970-01-01 00:00:00.000000000 +0000
69 +++ mcollective-0.4.1/etc/server.cfg    2010-01-06 14:37:50.000000000 +0000
70 @@ -0,0 +1,20 @@
71 +topicprefix = /topic/mcollective
72 +libdir = /usr/share/mcollective/plugins
73 +logfile = /var/log/mcollective.log
74 +loglevel = info
75 +daemonize = 1
76 +
77 +# Plugins
78 +securityprovider = psk
79 +plugin.psk = unset
80 +
81 +connector = activemq
82 +plugin.activemq.pool.size = 1
83 +plugin.activemq.pool.1.host = stomp1
84 +plugin.activemq.pool.1.port = 6163
85 +plugin.activemq.pool.1.user = mcollective
86 +plugin.activemq.pool.1.password = marionette
87 +
88 +# Facts
89 +factsource = yaml
90 +plugin.yaml = /etc/mcollective/facts.yaml
91 +
92 diff -urNad mcollective-0.4.1~/etc/server.cfg.dist mcollective-0.4.1/etc/server.cfg.dist
93 --- mcollective-0.4.1~/etc/server.cfg.dist      2010-01-02 14:54:25.000000000 +0000
94 +++ mcollective-0.4.1/etc/server.cfg.dist       1970-01-01 00:00:00.000000000 +0000
95 @@ -1,20 +0,0 @@
96 -topicprefix = /topic/mcollective
97 -libdir = /usr/libexec/mcollective
98 -logfile = /var/log/mcollective.log
99 -loglevel = info
100 -daemonize = 1
101 -
102 -# Plugins
103 -securityprovider = psk
104 -plugin.psk = unset
105 -
106 -connector = stomp
107 -plugin.stomp.host = stomp.your.com
108 -plugin.stomp.port = 6163
109 -plugin.stomp.user = mcollective
110 -plugin.stomp.password = marionette
111 -
112 -# Facts
113 -factsource = yaml
114 -plugin.yaml = /etc/mcollective/facts.yaml
115 -