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 ...

learn more… | top users | synonyms

2
votes
1answer
102 views

Display GUI on single machine in Vagrant Cluster

I am launching a cluster of VM's using Vagrant. I want to have only a single machine display it's GUI. The only means I've found to turn on the GUI is with config.vm.provider "virtualbox" do |v| ...
2
votes
1answer
140 views

Vagrant: Reload the vagrant from a chef recipe?

In my ubuntu vagrant I've got a recipe that does apt-get update then apt-get upgrade -y. I've got a final recipe that reboots the machine if a restart is required. Since I'm using NFS to share my ...
1
vote
1answer
222 views

Remote automated provisioning to a XenServer Hypervisor

I'm currently working on a project where I use Vagrant with Ansible provisioning to create local environments in VirtualBox. I'm currently working with a University and we have a XenServer Hypervisor ...
1
vote
1answer
227 views

Nginx unmet dependencies over Vagrant / Puppet

I have no such issue on 64bit Ubuntu Precise, but once I tried to start 32bit machine, it failed on this command: # /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install ...
1
vote
1answer
701 views

How to configure network on EC2 instance launched by Vagrant?

This is my AWS setup: 1 VPC with: default public subnet, 10.0.0.0/24 1 EC2 micro instance, private 10.0.0.172 and public Elastic IP 1 RDS instance, running MySQL The EC2 instance has network ...
1
vote
1answer
365 views

vagrant halt hanging while trying to detect guest OS

I'm trying to halt a vagrant vm using 'vagrant halt' and it seems to be hanging up on detecting the guest OS. (vagrant 1.5.1, centos 6.5 vm). Is this a bug in vagrant or something wrong with our base ...
1
vote
1answer
234 views

Problems with Exec in Puppet

i want to to run the following command with puppet: sb2-init rasp /home/ubuntu/raspberry_pi_development/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc In ...
1
vote
1answer
291 views

Vagrant guest's /var/www freezes when doing config.vm.synced

I reviewed all synced_folder configuration @ Vagrant's website... Host OS: Windows 7 Guest OS: Ubuntu this is my Vagrantfile config: # -*- mode: ruby -*- # vi: set ft=ruby : # Vagrantfile ...
1
vote
1answer
384 views

SSL connection to Thin through vagrant

I'm running a Rails app that forces SSL and uses HTTP basic authentication inside of a vagrant VM. If I try to make a curl request to the app from my host machine I get curl -k --verbose ...
1
vote
1answer
163 views

Execute virtualbox in LXC ? /dev/vboxnetctl: No such file or directory

I have Jenkins installed in a LXC container. In one Jenkins job, I want to test my project deployment with vagrant + Virtualbox. So, I try to execute VirtualBox in my LXC container. First ...
2
votes
0answers
344 views

Cookbook not found with vagrant, berkshelf and chef-solo

I'm attempting to get a vagrant instance up and running, but when I do vagrant up --provision, it fails with the error: ERROR: Cookbook postgres not found. I'm using vagrant-berkshelf, which ...
2
votes
0answers
612 views

virtualbox to qemu but results in no bootable device qemu

I use vagrant to create my development vm. I exported the vmdk to vdi, and then convert the vdi to img. cd virtualbox_dir/test_vm VBoxManage clonehd test_vm.vmdk raw.vdi 0% ..... 100% qemu-img ...
2
votes
0answers
56 views

Trying chef cookbooks before uploading

We're using Vagrant & Chef to provision the staging VM for our app. Once I have a working cookbook, I upload it to chef-server and Jenkins hook ensures the staging env gets updated. However, ...
1
vote
0answers
15 views

gunicorn not fully reloading after an HUP signal

I'm trying to get a working supervisor/gunicorn/django setup on vagrant. I am using python-watchdog to try and restart gunicorn when code changes happen. I am using the following supervisor ...
1
vote
0answers
225 views

Deploy packer images on bare metal server?

How can I match my dev and production bare metal box? The hosting provider does not allow or have a process to install custom images and only provides a selection from all the latest popular ...
1
vote
0answers
138 views

UWSGI is not creating my socket

So, i'm getting an error because my .sock file is not being created by uwsgi. I'm also running a VB with vagrant. my uwsgi.ini [uwsgi] master = true pidfile = /tmp/uwsgi-%n.pid workers = 12 ...
1
vote
0answers
406 views

Unable to install nginx from source in provisioning script

I'm using Vagrant to build a reproducible virtual machine for one of my projects. This virtual machine needs a basic LEMP stack, and I'm using a shell script to provision it after it's created. The ...
1
vote
0answers
217 views

Vagrant bridge to openvpn interface?

Setup: A box running OpenVPN server and few Vagrant virtual machines Problem: I would like to access Vagrant boxes directly from VPN clients as regular machines, and not on only few forwarded ...
1
vote
0answers
181 views

Chef run process terminated by signal 9

With chef.log_level set to debug, my Vagrant provisioning is stopping with this as the only indicator. If this is due to resources, how can I dig out the culprit that killed my process from the Linux ...
1
vote
0answers
108 views

AWS Dev-to-Production Build Process

I'm a developer, so not nearly as experienced as I would like to be with server administration. Essentially, I am trying to figure out how to create a base image (AMI) that can be used in development, ...
1
vote
0answers
155 views

Vagrant and cups port forwarding not working. Not accessible

I'm working with vagrant and I'm trying to use it as a printing server. I installed cups. Internally everything works just fine. I can even make a quick curl to my localhost:631 (cups port inside my ...
1
vote
0answers
181 views

How to install Gitlab in a VM on a production server?

I have a production server running Ubuntu 12.04 and I would like to install on it a VM with Gitlab (using Vagrant and Virtualbox). Let's say that the address to access Gitlab is gitlab.mydomain.com . ...
1
vote
0answers
1k views

vagrant apache not accessible from host

I am runing a virtual box from vagrant and I am trying to access web pages that are served by guest apache server. When I execute wget http://dev.test.com/index.html on guest everything works fine ...
1
vote
0answers
2k views

Vagrant reporting VirtualBox guest additions out of date

Fairly new to Vagrant, so bear with me if I don't understand the process. I downloaded a CentOS box off http://www.vagrantbox.es/ Started it up running VirtualBox 4.2.4 and got this message: ...
1
vote
0answers
303 views

virtualbox instances dedicated-server with custom dnsmasq

I have dedicated server where I planned to run virtualbox virtual machines. Since the VMs are managed with vagrant/chef I may end up with many different ones. I thought it would be a great idea to ...
0
votes
0answers
13 views

PHP-FPM 5.6 with NGINX is downloading app.php of Symfony 2 and throwing 403 forbidden

I've been trying to set up development environment in Vagrant using CentOS 7 + Nginx 1.6.2 + php-fpm 5.6.4 Everything went smooth and worked, until I installed Symfony 2 project with this folder ...
0
votes
0answers
11 views

Convenient way to restart server inside vagrant

We have a webserver, that needs nginx and other configurations, so for development we use vagrant. vagrant ssh I want to easily [re]start it, so I use single line ssh commands. vagrant ssh -c "" ...
0
votes
0answers
5 views

PHPStorm Error Copying Helpers

I'd previously configured PHPStorm to remote debug with Vagrant but some changes have caused a strange error. I have recently switched the Vagrant nfs to true and I have also downloaded the EAP ...
0
votes
0answers
36 views

How to change the execution time of the my.ini file using Chef

I'm attempting to get an existing Drupal site set up using Vagrant Drupal Development but have come across a few problems. My first is that I cannot seem to connect to the database to import my SQL ...
0
votes
0answers
31 views

Gem installation on vanilla ubuntu fails - EACCESS

I'm trying to install the Middleman gem on a completely generic installation of Ubuntu Trusty (i386). Here's my console input/output: vagrant@vagrant-ubuntu-trusty-32:~/rj$ which ruby /usr/bin/ruby ...
0
votes
0answers
58 views

ConEmu, Powershell, & ANSI Colors

I've just found ConEmu and am unclear on how to make ANSI colors show in a powershell session. In particular, I'm wanting to see the colored output of a vagrant up while provisioning a CentOS vm. Can ...
0
votes
0answers
51 views

“More than one MPM loaded” when trying to start apache on Vagrant Ubuntu box

Whenever I try sudo apache2ctl start I receive the following message: AH00534: apache2: Configuration error: More than one MPM loaded. Action '-k restart' failed. The Apache error log may have more ...
0
votes
0answers
23 views

Network error when running multiple Virtual Boxes

I have a Ubuntu 14.04 physical desktop that's running some Virtual Box instances (also Ubuntu) through Vagrant. The Virtual Box instances are configured to use static ip and with "natdnshostresolver1" ...
0
votes
0answers
75 views

puppet xdebug.ini not working

I install xdebug puppet Here is folder structure /myproject Vagrantfile puppet\ xdebug\ files\ xdebug.ini manifests\ init.pp This is ...
0
votes
0answers
62 views

installing drupal drush thru vagrant puppet

this is part of puppet manifest class composer { file { '/tmp/composer.sh': source => 'puppet:///modules/composer/composer.sh', ensure => present, ...
0
votes
0answers
50 views

Dovecot Replication(between CentOS vms) not working

I have the following configuration: 2 Virtual Machines(set up using Vagrant) with CentOS 7( master_1 - 127.0.0.1:2222 and master 2 - 127.0.0.1:2200). Each has installed postfix + dovecot 2.2.10. My ...
0
votes
0answers
49 views

Replicate server environment and directory structure using Vagrant

I am a developer by trade but am not used to configuring VM's and servers, so I apologize if these questions seem rather novice. I have recently started trying to use Vagrant for local development of ...
0
votes
0answers
111 views

Importing an ARM qemu machine using libvirt

Context: I'm trying to virtualise a raspbian disk image using qemu so that I can easily use it with vagrant/puppet. The steps I've figured out so far are create a VM using qemu import this VM into ...
0
votes
0answers
35 views

Access VM from network

For my PHP-development I have VagrantBox running CentOS. This box however is only accesible from my own computer because it only has a NAT-interface and a Host-Only-network. But when I want to test it ...
0
votes
0answers
1k views

vagrant fails to bring up additional adapter for centos vm using virtual box provider

this is in continuation of the question asked here about host only adapter on dhcp I upgraded to vagrant 1.6.3 and the updated Vagrantfile to following setting for multiple adapters # add additional ...
0
votes
0answers
107 views

Preferred “Chef/Berkshelf/Vagrant” Way to Change Java Versions

On a Linux box, what's the preferred, best-practice way of switching Java versions? For example - let's say that I want to build & test out my app on Java 7, and then Java 6. Here's a few ...
0
votes
0answers
89 views

Rysnc error using Vagrant + Rackspace plugin

Most of the time when I use the do a vagrant up --provider=rackspace I get the following error: ==> default: Waiting for SSH to become available... ==> default: The server is ready! ==> ...
0
votes
0answers
106 views

Vagrant use host public ip addresses

I want to encapsulate an OpenVPN server with Vagrant. My host machine has 1k public ip addresses and I currently allocate each ip address to a user connecting to it. For example if user xxx connects ...
0
votes
0answers
128 views

Identical Vagrant VM's install pip packages differently?

I have a vagrant VM being provisioned via Puppet. I'm testing this on two different Ubuntus, 12.04 and 13.10, both using the "standard" precise32 box. The application I'm testing is a Django ...
0
votes
0answers
93 views

how should I change my production environment (VPS) when using vagrant

I currently have a debian VPS hosted in a "traditional" ISP and a php application running on it. Then I have a couple of virtualbox vms running on my workstation for testing and I rely on a mix of deb ...
0
votes
0answers
315 views

Puppet Operation not permitted on owner/group change

I'm running Ubuntu 12.04 with vboxheadless 4.2.10 and vagrant 1.2.7 to provision instances on a server. When I run vagrant up I get the following errors: err: ...
0
votes
0answers
67 views

Truncated content with Apache on Vagrant VM

I'm using Vagrant to run a CentOS VM in order to try and achieve local development parity with our live servers. I've symlinked /var/www/html with the /vagrant shared directory and am forwarding port ...
0
votes
0answers
108 views

Using Hiera in Puppet, doesn't include Classes

My current folder structure looks like this: - manifests --hiera.yaml --site.pp --hieradata ---*.json --classes ---*.pp -modules --* Currently, hiera finds the configuration backends but doesn't ...
0
votes
0answers
237 views

Vagrant storage and disk space

I've got two harddrives and very little space on my primary harddrive, so I was hoping to install all my vagrant instances inside my large secondary harddrive. I changed the VAGRANT_HOME environmental ...
0
votes
0answers
865 views

vagrant - Could not find chef

New ubuntu 10.04 vagrant setup, and trying to run vagrant up $ vagrant up [default] VM already created. Booting if it's not already running... [default] Clearing any previously set forwarded ...