So I have the following in my vagrant file:
config.ssh.forward_agent = true
And the following salt state:
git+ssh://[email protected]/xxx/repo.git:
git.latest:
- rev: rest
- target: /home/vagrant/src
However I get a public-key error when this salt state is executed.
The annoying thing is that if I manually perform git clone git+ssh://[email protected]/xxx/repo.git from within my instance, everything works fine. Any ideas?
- user: vagrantto the salt state config which matches the git clone user. Unfortunately the outcome is the same... - Michael