Skip to content

patroni not generating public_attributes when patroni_role is enabled

The public_attributes are keyed to only generate when node['patroni']['enable'] is true, but this does not appear to be the case when patroni_role is enabled. This breaks gitlab-ctl patroni commands. This worked in 14.3.1, but is breaking on a 14.3.2 node.

I'm not 100% sure we need to key the public attributes on if patroni is enabled or not, but if so, it should