Skip to content
Link Dupont edited this page Apr 19, 2023 · 3 revisions

How do I connect to a broker using an HTTP/HTTPS proxy?

yggd supports the http_proxy and HTTPS_PROXY environment variable convention for configuring an HTTP proxy. To configure the yggd systemd service to use a proxy, simply create a systemd drop-in file and include the Environment= directive:

mkdir -p /etc/systemd/system/yggd.service.d
cat /etc/systemd/system/yggd.service.d/proxy.conf << EOF
[Service]
Environment=HTTPS_PROXY=http://proxy.corp.com:8888
EOF

How do I prevent a worker from starting?

Typically, yggd automatically starts up each worker it detects when it runs. Any executable file found in /usr/libexec/yggdrasil that ends with the string "worker" is considered a worker and will be started. It is possible to exclude a worker from this detection routine by adding its base name as an entry in /etc/yggdrasil/config.toml. For example, to disable the worker /usr/libexec/yggdrasil/rhc-worker-playbook.worker, add the following to /etc/yggdrasil/config.toml`:

exclude-worker = ["rhc-worker-playbook.worker"]
Clone this wiki locally