Last active
August 29, 2015 14:04
-
-
Save brandentimm/d204ddac8dc3240c7f08 to your computer and use it in GitHub Desktop.
Second ext_pillar git repository not syncing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In /etc/salt/master.d/gitfs-pillar-backend.conf: | |
ext_pillar: | |
- git: master git+ssh://git@FQDN/it/pillar-wei.git | |
- git: elasticsearch git+ssh://git@FQDN/it/pillar-wei.git | |
top.sls in branch master: | |
base: | |
'salt.DOMAIN': | |
- global | |
- sudoers | |
'gitlab.DOMAIN': | |
- gitlab | |
top.sls in branch elasticsearch: | |
elasticsearch: | |
'salt-test.DOMAIN': | |
- global | |
- elasticsearch | |
elasticsearch.sls in branch elasticsearch: | |
elasticsearch: | |
cluster: | |
name: elasticsearch | |
node: | |
master: true | |
data: true | |
network: | |
host: grains['ip_interfaces:eth0'] | |
In salt-test minion's config file: | |
environment: elasticsearch | |
However, output of salt-call pillar.items contains NO pillar data from global or elasticsearch. | |
/var/cache/salt/master/pillar_gitfs contains only one directory, '0', which is a checkout of the master branch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment