Use remote Mercurial repository as a Pillar source.
New in version 2015.8.0.
The module depends on the hglib
python module being available. This is the same requirement as for hgfs_ so should not pose any extra hurdles.
This external Pillar source can be configured in the master config file as such:
ext_pillar: - hg: ssh://[email protected]/user/repo
salt.pillar.hg_pillar.
Repo
(repo_uri)
Deal with remote hg (mercurial) repository for Pillar
close
()
Cleanup mercurial command server
pull
()
update
(branch='default')
Ensure we are using the latest revision in the hg repository
Extract pillar from an hg repository
Execute an hg pull on all the repos
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.hg_pillar.html