Commit graph

76 commits

Author SHA1 Message Date
Brian Coca
7c50f4cc8f Merge pull request #831 from viruxel/devel
Enable managing multiple user permissions from one shot
2016-02-01 23:36:36 -05:00
Brian Coca
6dfad7d157 Merge pull request #923 from mliudev/fix-rabbitmq_user-list_users
Check that the current output from 'list_users' command contains a '\t'.
2016-01-25 23:47:27 -05:00
Marian Rusu
09268b1a48 Enable managing multiple user permissions rules from one shot
One of inconvinence this address is the the fact that
you have to pass user's tags even if you just want to
add a permission rule

Signed-off-by: Marian Rusu <rusumarian91@gmail.com>
2016-01-23 23:37:11 +00:00
Brian Coca
7f40f46573 added version_added 2016-01-11 19:04:02 -05:00
Brian Coca
c18c5a793c Merge pull request #1234 from bradwilson/devel
Add apply_to option to rabbitmq_policy
2016-01-11 18:59:32 -05:00
Michael Scherer
2f3dc1352f Replace choices=BOOLEANS by type='bool', fix #1326 2015-12-21 23:39:20 +01:00
Brad Wilson
3177e9eaf0 Add apply_to option to rabbitmq_policy 2015-11-11 14:42:11 -08:00
Caduri
2a7b835f77 [Bug] exchange name contains chars that needs to be quoted 2015-10-21 14:36:23 +03:00
Caduri
d96ca9c8ec [Bug] exchange name contains chars that needs to be quoted 2015-10-21 14:34:11 +03:00
Mike Liu
ae7f7c2c64 Check that the current output from 'list_users' command contains a '\t'.
The `rabbitmqctl list_users` command will list the user's last login time
which does not include `\t` character. This is causing a ValueError exception
when attempting to split a user and its tags from the command output. This
fix will check for a `\t` in the current line of the output before splitting.
2015-09-05 12:38:19 -04:00
Björn Andersson
c02e4195cf Ignore extra lines from Pivotal's RabbitMQ package
Pivotal's packaging of RabbitMQ shows a banner at the end of the plugin
listing talking about their official plugins. The start of the banner is
divided by a blank line so the changed plugin listing will now
break after the first empty line.

An example listing with the rabbitmq_management plugin enabled:

```
    $ rabbitmq-plugins list -E -m
    rabbitmq_management

    Pivotal officially maintains and supports the plugins:

      rabbitmq_auth_backend_ldap, rabbitmq_auth_mechanism_ssl,
      rabbitmq_consistent_hash_exchange, rabbitmq_federation,
      rabbitmq_federation_management, rabbitmq_jms_topic_exchange,
      rabbitmq_management, rabbitmq_management_agent,
      rabbitmq_mqtt, rabbitmq_shovel, rabbitmq_shovel_management,
      and rabbitmq_stomp.
```
2015-09-02 00:26:15 +08:00
Luiz Felipe G. Pereira
8a5b597676 Fixing empty tags check
Right now even if you pass in an empty tags list to the module (either with
an empty string or null) it will erroneously think the tags list have changed
and re-apply the tags on every run
2015-08-24 14:15:11 -03:00
Brian Coca
1dce0334cf Merge pull request #133 from pcarinhas/devel
Fix rabbitmq_plugin.py: broken prefix path
2015-08-17 21:27:12 -04:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Brian Coca
20bf6d825e Merge pull request #503 from manuel-sousa/rabbitmq_exchange
Added missing default values
2015-05-18 10:25:32 -04:00
Brian Coca
ed0d3b94b3 Merge pull request #502 from manuel-sousa/rabbitmq_queue
Add missing defaults
2015-05-18 10:22:24 -04:00
Brian Coca
3f7d9fd168 Merge pull request #501 from manuel-sousa/rabbitmq_binding
Added missing default
2015-05-18 10:21:13 -04:00
Rene Moser
f2b085d015 rabbitmq; update author for new rabbitmq modules 2015-05-18 15:36:09 +02:00
Manuel Sousa
b30f112e57 Add missing defaults 2015-05-18 13:27:12 +01:00
Manuel Sousa
a35dd87263 Added missing default 2015-05-18 13:22:35 +01:00
Manuel Sousa
e981275884 Added missing default values 2015-05-18 13:20:22 +01:00
Brian Coca
8147103da9 Merge pull request #464 from manuel-sousa/rabbitmq_binding
Rabbitmq binding
2015-05-18 08:12:08 -04:00
Brian Coca
cbe32cd600 Merge pull request #463 from manuel-sousa/rabbitmq_exchange
Rabbitmq exchange
2015-05-18 08:11:02 -04:00
Brian Coca
f22c1d4542 Merge pull request #462 from manuel-sousa/rabbitmq_queue
Rabbitmq queue
2015-05-18 08:09:05 -04:00
Manuel Sousa
83e195578b Change variables from camel case to underscore 2015-05-15 16:12:43 +01:00
Manuel Sousa
709817bf19 Missed variable exchangeExists -> exchange_exists 2015-05-15 16:08:47 +01:00
Manuel Sousa
46eedaf368 Change variables from camel case to underscore 2015-05-15 16:08:10 +01:00
Manuel Sousa
abab60208d Change variables from camel case to underscore 2015-05-15 16:03:40 +01:00
Manuel Sousa
c7fe644c70 Make compatible with python 2.4
Removed one line if else
2015-05-14 16:37:51 +01:00
Brian Coca
08445418aa more string corrections 2015-05-14 10:45:32 -04:00
Manuel Sousa
6354e835d1 Removed leftovers from testing the module 2015-05-14 15:36:31 +01:00
Manuel Sousa
4882f2bbbe Make compatible with python
Removed one line if else
2015-05-14 15:30:10 +01:00
Manuel Sousa
112f4262f1 Make compatible with python 2.4
Removed one line if else
2015-05-14 15:26:20 +01:00
Manuel Sousa
2fa269b019 Added GPL license + Don't log password
Implemented resmo suggestions.
2015-05-13 23:38:53 +01:00
Manuel Sousa
180fb13b28 Added GPL license + Don't log password
Implemented resmo suggestions.
2015-05-13 23:36:41 +01:00
Manuel Sousa
3f2c4426ae Added GPL license + Don't log password
Implemented resmo suggestions.
2015-05-13 23:28:11 +01:00
Greg DeKoenigsberg
2f9f6cc28e Adding author's github id 2015-05-13 15:14:04 -04:00
Greg DeKoenigsberg
994ea305a8 Adding author's github id 2015-05-13 15:13:45 -04:00
Greg DeKoenigsberg
db14acbb54 Adding author's github id 2015-05-13 15:13:02 -04:00
Greg DeKoenigsberg
c94776fa36 Adding author's github id 2015-05-13 15:12:15 -04:00
Greg DeKoenigsberg
9259ff62dd Adding author's github id 2015-05-13 15:11:57 -04:00
Manuel Sousa
e87422ee96 Change version and remove result="success" 2015-05-08 17:30:41 +01:00
Manuel Sousa
4843e06fcd Change version and remove result="success" 2015-05-08 17:30:05 +01:00
Manuel Sousa
4ea269f0ba Change version and remove result="success" 2015-05-08 17:28:53 +01:00
Manuel Sousa
99f4f592fa add module rabbitmq_queue 2015-05-08 17:16:41 +01:00
Manuel Sousa
308305a691 add module rabbitmq_exchange 2015-05-08 17:15:36 +01:00
Manuel Sousa
fa97d665b9 add module rabbitmq_binding 2015-05-08 17:14:22 +01:00
Toshio Kuratomi
2396f36f11 Fix typo causing SyntaxError (missing colon) 2015-01-19 09:40:04 -08:00
Anders Ingemann
3795ab0379 Clear rabbitmq_user pw when none is specified 2015-01-16 14:32:08 +01:00
Philip Carinhas
530323bf63 Improve error message 2014-12-07 10:01:49 -06:00