fpco / fpco-salt-formula

9 stars 3 forks source link

move consul ext_pillar into the repo and use saltutil.py from upstream to sync #98

Open ketzacoatl opened 8 years ago

ketzacoatl commented 8 years ago

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.

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 use saltutil.sync_all, and drop the manually configured extension_modules setup.

ketzacoatl commented 6 years ago

this isn't super relevant right now, but it could be. I will keep this around for now.