So I have the following in my vagrant file:
config.ssh.forward_agent = true
And the following salt state:
git+ssh://git@bitbucket.org/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://git@bitbucket.org/xxx/repo.git
from within my instance, everything works fine. Any ideas?