Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to define a Federation Upstream Set? #802

Open
giggsey opened this issue May 20, 2019 · 0 comments
Open

How to define a Federation Upstream Set? #802

giggsey opened this issue May 20, 2019 · 0 comments

Comments

@giggsey
Copy link

giggsey commented May 20, 2019

Using the latest master (cc78a33), I'm trying to set a federation-upstream-set to be an array of upstream names.

Code:

    Rabbitmq_parameter { "hydra@/":
      component_name => 'federation-upstream-set',
      value          => [
        {
          'upstream' => 'site-public',
        },
        {
          'upstream' => 'site-private',
        },
      ],
    }

This should be generating the command:

/sbin/rabbitmqctl set_parameter -p / federation-upstream-set hydra '[{"upstream":"site-public"},{"upstream":"site-private"}]'

but is only getting the first item of the array, and trying to execute:

/sbin/rabbitmqctl set_parameter -p / federation-upstream-set hydra {"upstream":"site-public"}

I know the array support is only recent improvement, and hasn't been released yet (although I've been using it to support multiple URIs in federation-upstreams for a while).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant