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

0
votes
2answers
29 views

Keepalived loses VIP upon power cycle of master

I have two servers running Keepalived 1.2.7 with hostnames left and right. Here are the configs: # keepalived.conf on left vrrp_instance VI_1 { state MASTER interface eth1 ...
0
votes
2answers
25 views

Restarting mysql utilizing the puppetlabs/mysql module?

I have two folders -- one is 'public_modules' and the other is 'private_modules'. When I start a new Vagrant machine, the 'public_modules' folder is populated with modules as described in my ...
0
votes
1answer
106 views

Vagrant not ready for SSH error on VirtualBox and Laravel Homestead

Vagrant Version: 1.6.3 VirtualBox: 4.3.14 Ubuntu 14.04 LTS 64 Bit Hey Guys, I have been on this for a pretty good while now and cannot figure this out. I have my public and private keys setup and ...
0
votes
0answers
29 views

Puppet run multiple using different users

I have a question, Is it possible in puppet to do things as different user, for instance I want to install git, vim, curl as root and install postgresql as vagrant. Is it possible to do? class ...
-1
votes
1answer
31 views

Vagrant Determining IP information for eth2… failed [closed]

Im running a vagrant file to bring up a CentOS Virtual Box on OSX, but when running vagrant up it always fails at default: Configuring and enabling network interfaces... with the error: The following ...
-1
votes
0answers
15 views

Wireless Network card Disconnection while running 4+ VirtualBox instances(bridged) [migrated]

I am running several VMs with VirtualBox using Vagrant to configure and control my test env. Host box is Linux Ubuntu 14.04. I am using a WiFi connection to a Cisco WAP321 and I have the VM boxes ...
0
votes
3answers
43 views

Ways to deliver server solution set to customers

I'm looking for ways to deliver our server solution set to customer. So that customer can easily install and experience our solution. Our server solution set includes tomcat+webapp, memcached, db ...
2
votes
1answer
69 views

vagrant plugin install error

I'm trying to install a vagrant plugin $ vagrant plugin install vagrant-aws which exits with this error: Make sure that `gem install nokogiri -v '1.6.3.1'` succeeds before bundling. When I try ...
0
votes
1answer
47 views

vagrant port forwarding does not work without any error

I'm trying to set up my project into virtual machine so I can work with it from my host machine. I've set up port forwarding in vagrantfile and when I run 'vagrant up' everything is ok and there is no ...
0
votes
0answers
27 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 ...
1
vote
1answer
47 views

Upstart can't stop foreverjs services on shutdown?

Scenario We use a Vagrant-based virtual machine running Ubuntu 12.04 LTS for development of three Node.JS servers that are started using foreverjs. We run the services under the vagrant user and ...
2
votes
1answer
266 views

Weird network problems with Vagrant, VirtualBox, Ansible and Ubuntu Server box

We are using Vagrant and Ansible to provision VirtualBox machine. It was working great, but recently we've started to encounter some weird network problems with tasks that require access to the ...
-1
votes
2answers
25 views

hiera.yaml is not loading on vagrant provision

Whenever I provision vagrant all the data is nil. When I ssh in and specify /etc/puppet/hiera.yaml as the config option i can get the values. How can I get vagrant to use the right hiera.config file? ...
1
vote
1answer
67 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 ...
0
votes
1answer
22 views

How to change the default timeout configuration file for composer

I've been searching all over the internet and I can't seem to find any help as to where my composer's configuration file is saved to. Basically what I'm trying to do is change the ...
1
vote
1answer
93 views

Is it possible to use Docker or Vagrant to provision a physical machine

Currently at my work we use buildroot to provision physical machines with Debian linux. Buildroot compiles a rootfs.cpio.gz file which the machines to be provisioned pick up using PXE, runs a script ...
0
votes
0answers
31 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 ...
1
vote
1answer
146 views

vagrant up fails on windows with box_add: undefined

I've spent a few hours now without achieving any outcome trying to vagrant up a box of mine. It works perfectly on my mac and two of my coworkers mac but when trying to vagrant up that box on my ...
0
votes
1answer
22 views

Using vagrant to isolate my whole environment [closed]

I want to use Vagrant to isolate my whole development environment from my system (OS X 10.9.3), and not just for a specific software project. Is Vagrant a right tool for this task, or there are better ...
2
votes
1answer
241 views

Vagrant's puppet provisioner not reading hiera.yaml backend correctly?

I have a puppet problem that is specific to the way that Vagrant uses the manifests/modules/hiera-config with its puppet provisioner, since a "puppet apply site.pp" works fine in the resultant vagrant ...
0
votes
2answers
279 views

Booting Vagrant Box error/timeout after “aborted state”

One of my Vagrant boxes ended up with an "Aborted" state, apparently I ran out of memory or something, and yeah. Now the box is not booting... properly. Here is what I got: $ vagrant up cloud2 ...
1
vote
1answer
132 views

Vagrant synced_folder syntax for nfs options (trying to disable nfs_export)

I'm trying to disable the nfs_export option in my Vagrantfile, so that Vagrant will not touch my /etc/exports. The Vagrant documentation says: NFS synced folders have a set of options that can be ...
3
votes
1answer
83 views

Pre-populate vagrant synced folder contents

I'm currently building an rather complicated server stack (a ruby on rails app) that I want developers to be able to work on without having to install everything themselves. Therefore I use Vagrant to ...
5
votes
1answer
277 views

Can Vagrant point to a directory of Puppet manifests for execution?

I am using Vagrant to jump start some initial Puppet config and am confused on how to include/run multiple manifests (other than just site.pp) in the puppet execution workflow without making the extra ...
0
votes
1answer
44 views

Vagrant is creating files and folders in my project

Recently I updated Vagrant (v 1.6.3) and I noticed that in the folder of my project there are some new folders and files like: d20140610-11944-1j6n1cz/ d20140610-15421-1pkz3t8/ ...
1
vote
0answers
176 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 ...
1
vote
1answer
249 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 ...
0
votes
0answers
301 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 ...
-1
votes
1answer
198 views

Install PHP 5.3.X, PHP 5.4.x and PHP 5.5.x in the same environment using Puppet

Anyone already tried to install these three version using Puppet in Ubuntu? I have a VM that is managed by Vagrant and I want to have these three version so I can specify which PHP version I should ...
0
votes
1answer
394 views

adding additional network adapter to use host only network with dhcp in vagrant using virtualbox provider

here's what I am trying to achieve adapter 1 runs on usual NAT add an additional adapter using the vboxnet0 host only network I have created in virtual box, this one uses DHCP server the reason I ...
0
votes
0answers
85 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
1answer
113 views

Package a VM built with Vagrant as an OVA appliance

I've created a virtual machine with Vagrant and some provisioning scripts. Now I want to hand out copies of the fully provisioned machine to participants at a workshop. This workshop will be mainly ...
0
votes
1answer
243 views

Timeout when connecting to Vagrant VM via hostname with port forwarding

I am trying to get a Vagrant VM setup that has been distributed to me (so I did not configure it myself). I have installed the VM using vagrant upsuccessfully, but when I try to use a browser to hit ...
3
votes
1answer
249 views

Enable FastCGI on Apache with Puppetlabs/Apache

I'm using Puppetlabs/Apache to configure Apache. In the main puppet file, I call and configure it: class { '::apache': } class { '::apache::mod::fastcgi': } apache::vhost { "${::fqdn} non-ssl": ...
2
votes
2answers
1k views

Repackaged Vagrant (vbox) box will not allow ssh after subsequent imports

I'm experiencing the following. If I download and run a base box (ubuntu/trusty64), make some modifications like installing packages, then shutdown and repackage the box, on subsequent imports it ...
0
votes
1answer
149 views

How to deliver private ssh keys for a virtualbox controlled by vagrant?

By default, Vagrant uses an insecure private key used when logging into the machine with vagrant ssh. Vagrant supports specifying a different private key via private_key_path however I am not clear ...
1
vote
1answer
165 views

Use Ansible to create vagrant box ?

I am new to Ansible and I bit confused if I can better use Vagrant to create VM instances (on EC2 and local virtual boxes) and use Ansible only for provisioning or if I can/should use Ansible to ...
4
votes
1answer
71 views

Is there a streamlined way to export settings from an existing CentOS 5.10 server for local Vagrant provisioning? (Puppet, Chef, shell, or otherwise)

I've recently started the process of learning how to use Vagrant for spinning up a local development environment. (after getting frustrated with the various WAMP stack options) Vagrant is great so ...
0
votes
1answer
410 views

Puppet exec command with variable not executed

I have a very simple Puppet (sub)module that should use Git to clone a repository from a remote location: class wppuppet::git( $location = '/var/www/wp' ) { file { $location: ensure => ...
1
vote
1answer
162 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 ...
2
votes
2answers
141 views

veewee: build gets stuck during installation of libssl on debian 7.4

I'm new to vagrant and veewee. I'm trying to build a debian 7.4 image but after running the build veewee vbox build 'debian-7.4' the process gets stuck on the installation of libssl because it ...
0
votes
1answer
288 views

httpd service will not start on boot under CentOS 6

I am having trouble configuring a CentOS 6 Vagrant setup to start the Apache service on boot. I have tried using chkconfig and the OS seems to just ignore it. When I run sudo chkconfig --list httpd, ...
1
vote
2answers
853 views

npm install on vagrant virtualbox

Seem to be having A LOT of trouble figuring this one out, but I'm attempting to use vagrant and provision a server that uses node / npm to install dependencies. My setup is: ubuntu 12.04 host (old ...
0
votes
0answers
91 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
65 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
213 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
4answers
5k views

Vagrant Error: Connection timeout. Retrying

I have a server with Ubuntu 12.04, Virtualbox 4.3 and Vagrant 1.5.1. I'm trying to use this box http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box however unsucessfully. When I run ...
-1
votes
1answer
94 views

Vagrant muulti-vm mode configure network

Does any one know how to configure multi-vm mode to be able to communicate each VM with others. I want to deploy client-server application and my VMs can't communicate by dns without adding hosts ...
2
votes
2answers
1k views

Ansible not executing host specific playbook in Vagrant multi-machine provisioning

When provisioning with ansible in Vagrant, I am unable to get server/role specific playbooks to run. There is a common playbook run for all hosts, and that is working, but when trying to target a ...
1
vote
3answers
241 views

Changing the mysql bind-address within a script

What would be the best way to change the mysql bind-address in the my.cnf from a shell script? Is there a way using a tool like mysqladmin or should I use sed or should I simply append it to the ...