~niedbalski/charms/trusty/rabbitmq-server/fqdn-maas-1.5

« back to all changes in this revision

Viewing changes to hooks/rabbit_utils.py

  • Committer: james.page at ubuntu
  • Date: 2014-06-30 10:32:06 UTC
  • mfrom: (54.1.4 rabbitmq-server-trusty)
  • Revision ID: james.page@ubuntu.com-20140630103206-lfgu7ndjy361i1q7
[james-page,r=gnuoy]

1) resync with precise version of this charm - they should be one and the same

2) add target to Makefile - publish - which pushes to both charms

3) revert the changes to how open file ulimit is changed - pam is not effective for server processes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
RABBIT_USER = 'rabbitmq'
38
38
LIB_PATH = '/var/lib/rabbitmq/'
39
39
 
40
 
_named_passwd = '/var/lib/charm/{}/rabbit-{}.passwd'
 
40
_named_passwd = '/var/lib/charm/{}/{}.passwd'
41
41
 
42
42
 
43
43
def vhost_exists(vhost):