-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running PuPHPet script throu vagrant managed servers plugin #25
Comments
Update: I put my Vagrantfile and the puppet folder (basicaly just every thing I got from PuPHPet, including my changes to the vagrant file) under version controll and brought it to the server at If this helps anything, here would be my commandline output:
As I see it, it is connected to the server successfully but then runs into troubles, because not all folders are there that it's expecting. I'll try to investigate further which ones are missing and if I can add them manually/create sim links or if they should be linked automaticaly with random names which I can't predict. |
Can you verify that you have rsync.exe on the %PATH% ?
|
I guess I downloaded rsync (https://www.itefix.net/cwrsync the free version) and first I tried to copy it to my program folder what didn't help anything. Then I copied it to now my command line outputs:
I haven't installed any rsync stuff on my server, do I need to have a rsync daemon running on the remote host? (or does that come automaticaly with Ubuntu 14.04?) Note: I tried it with and without firewall/antivir on my computer, didn't make a difference. |
try to use rsync manually to test usually the .exe will came with an ssh.exe be sure of put both on that app path
|
@pascalwacker you can run I'm not sure about the cwrsync, I'm using a cygwin rsync and ssh to make the vagrant windows experience better:
Add these two directories to your PATH as described above and you should be happy. |
For reference: I needed |
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).
The text was updated successfully, but these errors were encountered: