openshift/openshift-extras — pull request #432 by Miciah (2014-08-20 22:08:40+00:00)
Title: Bug 1109052 fix replication for routing plugin bug 1132208 configure activemq redelivery bug 1132209 always set routing plugin user and  pass

`openshift.ks`: Always set `routing_plugin_user`/`pass`

In `set_defaults`, always set the `routing_plugin_user` and `routing_plugin_pass` variables instead of setting them only when installing the "broker" component. These variables are used when configuring ActiveMQ and so may be used even if the "broker" component is not being configured, and in any case, `set_defaults` should set variables unconditionally for simplicity.

This commit fixes bug 1132209.

`openshift.ks`: Configure ActiveMQ redelivery

Modify `configure_activemq` to configure redelivery for the `routinginfo` queue, which may be used by the ActiveMQ routing plug-in.

This commit fixes bug 1132208.

`openshift.ks`: Fix replication for routing plug-in

Fix `configure_routing_plugin` to configure the routing plug-in with all ActiveMQ replicants instead of only the first.

This commit fixes bug 1109052.

`openshift.ks`: Improve descriptions for replication

Clarify that ports may be specified for `CONF_DATASTORE_REPLICANTS` and must not be specified for `CONF_ACTIVEMQ_REPLICANTS`.

`openshift.ks`, `configure_activemq`: Mark vars local

Declare `networkConnectors` and `authenticationUser_amq` as local variables.