I'm trying to provision vagrant VM using salt with existing salt formulas. I've followed this presentation to get access to gitfs_remotes
: https://github.com/borgstrom/salt-vagrant-saltconf2014/blob/master/presentation.md.
salt/minion
master: 127.0.0.1
state_verbose: False
salt/master:
# listen on the loopback in open mode
interface: 127.0.0.1
auto_accept: True
# use both the local roots as well as gitfs remotes
fileserver_backend:
- roots
- git
# map our project specific files to the local roots
file_roots:
base:
- /vagrant/salt/roots
pillar_roots:
base:
- /vagrant/salt/pillar
# setup our salt formulas as gitfs remotes
gitfs_remotes:
- https://github.com/saltstack-formulas/mysql-formula
Vagrantfile (part):
config.vm.synced_folder "salt/roots/", "/srv/salt/"
config.vm.synced_folder "salt/pillar", "/srv/pillar/"
config.vm.provision :salt do |salt|
salt.minion_config = "salt/minion"
salt.master_config = "salt/master"
salt.bootstrap_options = "-F -c /tmp/ -P"
salt.run_highstate = true
end
/salt/roots/top.sls:
base:
'*':
- mysql
But I get the error:
[INFO ] SaltReqTimeoutError: after 60 seconds. (Try 7 of 7) Attempt to authenticate with the salt master failed