Running into an issue in using gitfs to invoke states.
Salt server version : salt 2014.1.5
On running highstate : salt '*' state.highstate -l debug
Data failed to compile:
----------
No matching sls found for 'vim' in env 'base'
----------
No matching sls found for 'firefox' in env 'base'
Contents of top.sls :
base:
'roles:******':
- match: grain
- vim
'*':
- firefox
gitfs configuration on /etc/salt/master :
gitfs_remotes:
- git+ssh://git@gitlab.****.com/rsood/saltdev.git
- git://git@gitlab****.com/rsood/saltdev.git
-
http://gitlab.*****.com/rsood/saltdev.git
- file:///gitLabRepos/saltdev
I have tried individually using each of the above syntax .
Noticed that the init.sls does not get pulled under individual folders in the Salt cache :
[root@ip-******]# ls -R /srv/salt/var/cache/salt/
master/gitfs/refs/master/
/srv/salt/var/cache/salt/master/gitfs/refs/master/:
firefox top.sls vim
/srv/salt/var/cache/salt/master/gitfs/refs/master/firefox:
/srv/salt/var/cache/salt/master/gitfs/refs/master/vim:
The local repo layout under /gitLabRepos/saltdev is :
[root@ip-*****]# ls -R
.:
aws base pillar top.sls
./aws:
userData
./aws/userData:
cloud-init.txt
./base:
firefox gitClient mList rmFile vim
./base/firefox:
init.sls
./base/gitClient:
init.sls
./base/mList:
init.sls serverPing
./base/rmFile:
init.sls
./base/vim:
init.sls
./pillar:
mdata.sls top.sls