Skip to content

Commit

Permalink
Fixes #37860 - Make the config file compatible with 0.2.z and 0.4.z
Browse files Browse the repository at this point in the history
- broker is an array of mqtt servers used by 0.2
- server is an array of mqtt servers used by 0.4
- data-host needs to be set to an empty string to override certain compile-time
  defaults set in RHEL and CentOS Stream
- prefix needs to be set to the value we expect to override certain compile-time
  defaults set in RHEL and CentOS Stream

broker and server can be set at both once, each will be honored by their
respective versions

data-host and prefix can be set both at once on our build of yggdrasil they'll
just duplicate the defaults, on RHEL/CentOS Stream they'll act as overrides
  • Loading branch information
adamruzicka committed Sep 25, 2024
1 parent af258ff commit 4fe4324
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion katello-pull-transport-migrate
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ if [ -f $CONFIGTOML ]; then
# yggdrasil global configuration settings written by katello-pull-transport-migrate
broker = ["mqtts://$SERVER_NAME:1883"]
server = "mqtts://$SERVER_NAME:1883"
server = ["mqtts://$SERVER_NAME:1883"]
cert-file = "$CERT_FILE"
key-file = "$KEY_FILE"
ca-root = ["$CA_FILE"]
log-level = "error"
data-host = ""
prefix = "yggdrasil"
EOF

else
Expand Down

0 comments on commit 4fe4324

Please sign in to comment.