~maas-maintainers/maas/packaging.utopic

« back to all changes in this revision

Viewing changes to debian/patches/03-txlongpoll-config.patch

  • Committer: MaaS Lander
  • Author(s): Andres Rodriguez
  • Date: 2014-09-29 20:00:48 UTC
  • mfrom: (312.2.1 packaging)
  • Revision ID: maas_lander-20140929200048-tkodg74t4vi0qaub
[r=andreserl][bug=][author=andreserl] * New Upstream Snapshot, Beta 4 bzr3126
* Remove usage of txlongpoll and rabbitmq-server. Handle upgrades
  to ensure these are removed correctly.
* Remove all references to the MAAS celery daemon and config files
  as we don't use it like that anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Use default settings for MAAS txlongpoll
2
 
 Use default settings for MAAS txlongpoll. These default settings
3
 
 include  oops directory, Message broker configuration, logfile.
4
 
Author: Andres Rodriguez <andreserl@ubuntu.com>
5
 
 
6
 
--- maas-1.5+bzr1908.orig.orig/etc/txlongpoll.yaml      2014-02-07 11:21:12.578557974 -0500
7
 
+++ maas-1.5+bzr1908.orig/etc/txlongpoll.yaml   2014-02-07 11:21:12.578557974 -0500
8
 
@@ -17,7 +17,7 @@
9
 
   # or directories other than what the oops machinery creates there.
10
 
   #
11
 
   # directory: ""
12
 
-  directory: "logs/oops"
13
 
+  directory: "/var/log/maas/oops"
14
 
   ## The reporter used when generating OOPS reports.
15
 
   # reporter: "LONGPOLL"
16
 
   reporter: "maas-txlongpoll"
17
 
@@ -25,14 +25,14 @@
18
 
 ## Message broker configuration.
19
 
 #
20
 
 broker:
21
 
-  # host: "localhost"
22
 
-  # port: 5672
23
 
-  # username: "guest"
24
 
-  # password: "guest"
25
 
-  # vhost: "/"
26
 
+  host: "localhost"
27
 
+  port: 5672
28
 
+  username: "maas_longpoll"
29
 
+  password: "maaslongpoll"
30
 
+  vhost: "/maas_longpoll"
31
 
 
32
 
 ## Where to log. This log can be rotated by sending SIGUSR1 to the
33
 
 ## running server.
34
 
 #
35
 
 # logfile: "txlongpoll.log"
36
 
-logfile: "/dev/null"
37
 
+logfile: "/var/log/maas/txlongpoll.log"