Questions tagged [vagrant]

Vagrant is a tool to create and configure lightweight, reproducible, and portable development environments. By default, it uses Oracle's VirtualBox for these virtual environments, but support for other virtualization systems is available. Most questions about Vagrant should be asked on Super User or Stack Overflow.

Vagrant is a platform independent tool written in Ruby, to create and configure lightweight, reproducible, and portable development environments. By default, it uses Oracle’s VirtualBox for these virtual environments, but support for other virtualization systems is available. Lots of information and very good in-depth documentation can be found on the homepage: Vagrant - Virtualized development for the masses.


Footnote:
Please refer to Meta.SF for some background on the recommendation why questions regarding vagrant are likely to get a better reception and possibly more answers on StackOverflow than on ServerFault.

454 questions
0
votes
1 answer

Can't run puppet with modules on vagrant

I was studing puppet and running the manifests happened without a problem but when I added modules to puppet I run into the following issue: DEBUG ssh: Exit status: 0 INFO interface: info: Running Puppet with db.pp... INFO interface: info: ==>…
0
votes
1 answer

Ansible not found in PATH after installation on Vagrant box

The Problem For a test, I set up a very simple Vagrant file. This is just to test how working with Ansible is. Sadly I am stuck at step number 2 with the following error during vagrant up --provision (which I can repeat on reload): The executable…
kaiser
  • 1,251
  • 1
  • 16
  • 24
0
votes
1 answer

MySQL not shutting down when trying to restart

I am running a CentOS in my Vagrant box and via SSH terminal have run the following command to restart the MySQL service sudo service mysql restart The message Shutting down MySQL appears but it never actually completes shutting it down. If I try…
Zabs
  • 191
  • 2
  • 3
  • 10
0
votes
1 answer

Hyper-V Vagrant - Running out of memory but not sure why

I understand that something is using the memory, and forcing OOM killer to kick in and start killing processes, to the point where there is nothing more to kill and a kernel panic happens. However, I've tried tweaking server settings, increasing…
Tisch
  • 182
  • 5
0
votes
1 answer

How to use the PHP within Terminal that comes with installed Vagrant Box instead of system PHP

I've provisioned a ScotchBox Vagrant Box, which is basically a LAMP stack. But I need to be able to use the PHP that comes with ScotchBox from Terminal instead of the system php How do I do this?
dcolumbus
  • 475
  • 1
  • 5
  • 10
0
votes
1 answer

Getting soap to run on a Vagrant CentOs machine

I have a vagrant machine on my local computer and I am testing an API that requires Soap. For the life of me I cant get soap to install on the machine. Checking phpinfo, I note: SOAP Brad Lafountain, Shane Caraveo, Dmitry Stogov Running the…
HappyCoder
  • 111
  • 1
  • 5
0
votes
1 answer

salt stack `os:...` pattern not matching in top.sls

I'm attempting to differentiate between a Ubuntu box and an Arch box within my top.sls file within a Virtualbox 5.0.4 virtual machine managed by vagrant 1.7.4 using salt 2015.8.1 (Beryllium) This doesn't work: base: 'os:Arch': -…
lsh
  • 148
  • 1
  • 12
0
votes
1 answer

Setting up a vagrant box from an existing vm

I am trying to set up a box from an existing vm. I started by mostly following the instructions at https://scotch.io/tutorials/how-to-create-a-vagrant-base-box-from-an-existing-one. But I didn't want to lose my original vm, so I skipped that part…
nroose
  • 131
  • 6
0
votes
1 answer

www-data user cannot use ruby gems

I'm trying to get a virtual server running using Vagrant and VirtualBox. For the VirtualBox I'm using scotch/box which got all the basic stuff for running a ubuntu server with some components (apache, mysql, php etc.) more on scotchbox can be found…
Mark C.
  • 101
  • 2
0
votes
2 answers

Puppet - Automatic provisioning with Vagrant VMs

I have three virtual machine that I have created using Vagrant. This virtual machine have as box ubuntu/trusty64. I have created all VMs in the same Vagrantfile as single project. To provision it, I have used Puppet. For now, the three vms use…
Juan Garcia
  • 181
  • 4
  • 8
0
votes
1 answer

Debian server is showing PHP code instead of interpreting it

I was told on stackoverflow to post this question here: Scroll down to see result of things I've done based on suggestions I am setting up my first project using Vagrant. I chose the following package puppetlabs/debian-7.8-64-puppet for the debian…
Musterknabe
  • 71
  • 1
  • 9
0
votes
1 answer

multi machine vagrant file as a active-passive cluster

I have configured a multi-machine Vagrant file with two VMs acting as a mini failover active-passive cluster. As the running services are the same and running on the same port, Vagrant doesn't allow me to port-forward the same port twice on my host,…
user294262
0
votes
1 answer

Vagrant: Mounting Home Directory via NFS

I'm running multiple VMs with the same operating system and I'd like to share my dotfiles between them. In setting up my vagrant file I originally tried: config.vm.synced_folder "/Users/Erik/VirtualMachines/Home", "/home/vagrant", nfs: true While I…
ESW
  • 389
  • 9
  • 16
0
votes
1 answer

Chef / Vagrant - Kitchen cant connect to Update Jenkins

Iam getting crazy with Chef, Vagrant and Test-Kitchen. We have an customized Jenkins Cookbook, it works on "normal" Clients without Cooperate Network Proxys, but fails behind with the following error. - create new file…
opHASnoNAME
  • 645
  • 2
  • 7
  • 18
0
votes
1 answer

Stuck on gathering facts

I'm trying to run an Ansible playbook, but it seems to be freezing on 'Gathering facts'. This is the output: GATHERING FACTS *************************************************************** <127.0.0.1> ESTABLISH CONNECTION FOR USER:…
Rolf
  • 103
  • 1
  • 2