Skip to content

Instantly share code, notes, and snippets.

@brandentimm
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandentimm/d204ddac8dc3240c7f08 to your computer and use it in GitHub Desktop.
Save brandentimm/d204ddac8dc3240c7f08 to your computer and use it in GitHub Desktop.
Second ext_pillar git repository not syncing
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