Hi
So I created a server using https://puphpet.com/ (I've never worked with Puppet before and they provide a nice Interface and yes maybee I'm lazy ;))
I've then changed the Vagrant file to have 2 VM's in it. First one called "dev", that runs localy on my laptop and the second one called "prod" which runs on a remote host. What I'd like to do now is just let the local setup run on the remote host.
Therefore I downloaded this plugin and I'm able to connect to the remote host using "vagrant up prod --provide=managed". After I've connected, I tried to run "vagrant provision prod" which installed the Puppet stuff successfully, but broke then when it should have installed all the nice stuff like apache and so on.
`==> prod: Running provisioner: puppet...
Shared folders that Puppet requires are missing on the virtual machine.
This is usually due to configuration changing after already booting the
machine. The fix is to run a `vagrant reload` so that the proper shared
folders will be prepared and mounted on the VM.
C:\VirtualMachines\VagrantBoxes\APP01>vagrant provision prod
As I understand it it needs the stuff that is usually in /vagrant/puppet/... (the Puppet manuscripts and stuff) to run.
I could try to copy them just from my local computer to the server by hand (or git), but as I mentioned, I'm a lazy pice of shit so I'd prefere if Vagrant is managing that for me. I guess, there's a way, cause https://puphpet.com/ offers support for AWS which also uses a SSH connection.
My Question/Issue/Feature request is: Is it possible to use Synced folders with SSH? If yes, how? If no, could you add it?
Btw. If you are interessted in the Vagrant File: http://stackoverflow.com/questions/26191910/run-puphpet-through-vagrant-managed-server-on-a-remote-server (the "Monster Vagrantfile" note: back then I haven't set the right permissions for the user).
Hi
So I created a server using https://puphpet.com/ (I've never worked with Puppet before and they provide a nice Interface and yes maybee I'm lazy ;))
I've then changed the Vagrant file to have 2 VM's in it. First one called "dev", that runs localy on my laptop and the second one called "prod" which runs on a remote host. What I'd like to do now is just let the local setup run on the remote host.
Therefore I downloaded this plugin and I'm able to connect to the remote host using "vagrant up prod --provide=managed". After I've connected, I tried to run "vagrant provision prod" which installed the Puppet stuff successfully, but broke then when it should have installed all the nice stuff like apache and so on.
As I understand it it needs the stuff that is usually in /vagrant/puppet/... (the Puppet manuscripts and stuff) to run.
I could try to copy them just from my local computer to the server by hand (or git), but as I mentioned, I'm a lazy pice of shit so I'd prefere if Vagrant is managing that for me. I guess, there's a way, cause https://puphpet.com/ offers support for AWS which also uses a SSH connection.
My Question/Issue/Feature request is: Is it possible to use Synced folders with SSH? If yes, how? If no, could you add it?
Btw. If you are interessted in the Vagrant File: http://stackoverflow.com/questions/26191910/run-puphpet-through-vagrant-managed-server-on-a-remote-server (the "Monster Vagrantfile" note: back then I haven't set the right permissions for the user).