Here is my /etc/salt/master config:
#GitFS gitfs_provider: pygit2 gitfs_base: DEVELOPMENT gitfs_env_whitelist: - base fileserver_backend: - git gitfs_remotes: - ssh://git@github.com/myrepo/salt-states.git: - pubkey: /root/.ssh/my.pub - privkey: /root/.ssh/my - mountpoint: salt:///srv/salt/salt-states
Here is my directory structure for the repo:
. |-- README.md |-- formulas | `-- test | |-- test.sls `-- top.sls
Here is my very basic top.sls:
base: '*': - test
If i try to run highstate on my test node I get:
root@saltmaster:/etc/salt] salt -v '*' state.highstate Executing job with jid 1234567890 ------------------------------------------- test-minion.domain: ---------- ID: states Function: no.None Result: False Comment: No Top file or external nodes data matches found. Started: Duration: Changes: Summary for test-minion.domain ------------ Succeeded: 0 Failed: 1 ------------ Total states run: 1 Total run time: 0.000 ms
I'm not sure why this isn't working and would appreciate any help with this. I've tried just applying the test.sls to see if it was the top file that was the issue but I got this:
root@saltmaster:/etc/salt] salt -v '*' state.sls test Executing job with jid 1234567890 ------------------------------------------- test-minion.domain: Data failed to compile: ---------- No matching sls found for 'test' in env 'base'