In the current consul.ext_pillar formula, we manually dump that ext_pillar module into extension_modules path. That works around a limit of saltutil.sync_all in previous versions, where that module did not sync pillar modules on masterless deployments.
In the current
consul.ext_pillar
formula, we manually dump that ext_pillar module intoextension_modules
path. That works around a limit ofsaltutil.sync_all
in previous versions, where that module did not sync pillar modules on masterless deployments.If we include https://raw.githubusercontent.com/terminalmage/salt/91745c2a67e02bcc257f8296b55b1d5c735e4526/salt/modules/saltutil.py in
_modules
, we can then put the consul pillar module into_pillar
and usesaltutil.sync_all
, and drop the manually configuredextension_modules
setup.