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

1
vote
0answers
148 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
votes
1answer
279 views

One bigger Virtual Machine distributed across many OpenStack nodes [duplicate]

I just setup virtual machines on one hardware with Vagrant. I want to use a Puppet to configure them and next try to setup OpenStack. I am not sure If I am understanding how this should look at the ...
2
votes
1answer
464 views

Vagrant-aws not provisioning

I'm trying to spin up and provision an EC2 instance with Vagrant, it successfully creates the instance up and I can then use vagrant ssh to SSH into the it but Puppet doesn't seem to carry out any ...
1
vote
1answer
255 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 ...
0
votes
1answer
271 views

Vagrant saving current state when windows reboots

I am running vagrant with ubuntu as guest os, but when windows reboots, i again have to install LAMP and configure virtual hosts and also all apps like git, memcache again. How can i save the state ...
0
votes
1answer
396 views

Expose virtual machine (vagrant) to local Wifi

I've setup a local virtual machine (ubuntu 12.4) using Vagrant (www.vagrantup.com) and need to share its resources on my local wifi network. It is basically running a webserver which should be ...
6
votes
1answer
160 views

How to make a Cent OS install as similar to an EC2 rhel based instance as possible?

I'm trying to setup vagrant to deploy locally, while we also want to deploy to elasticbeanstalk. So how can I make my local cent OS Vagrant VM as close to the Amazon EMI as possible? My co-worker ...
1
vote
1answer
778 views

How to restore Linode to Vagrant VM?

I'm trying to set up a Linux development environment so I can safely make changes to my website without breaking the live site. Linode hosts my live site. A simple solution would be to host my ...
0
votes
2answers
980 views

Can't communicate with nginx from Vagrant host machine

I am using Ansible to compile and configure Nginx inside a Vagrant box. If I run curl http://localhost/ from inside the box I get the expected response (phpinfo()). If I access the URL ...
1
vote
1answer
132 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 ...
1
vote
1answer
307 views

Vagrant support for Type 1 Hypervisor

I need to be able to spin up VMs every now and again so that I can have a space to build the latest iteration from my project's 'dev' branch (using chef), run the configuration scripts, and make sure ...
-1
votes
2answers
694 views

Issue with changing permission and owner recursively on files with puppet and vagrant

I am trying to install tomcat on a virtual box guest machine using puppet and vagrant. For tomcat to run, I need to change permission of the /bin/*.sh files. Here is the relevant section of my puppet ...
0
votes
1answer
847 views

Provisioning Oracle's JDK into VirtualBox using Puppet and Vagrant

I am trying to install Oracle's jdk with Vagrant/Puppet. Here is the relevant portion of my Vagrant file: config.vm.provision :puppet, :module_path => "puppet/modules" do |puppet| ...
0
votes
1answer
1k views

Virtualbox / Vagrant “closed by remote host” during routine use

I am attempting to install OpenTreeMap in a Ubuntu environment. Hosted at DigitalOcean, one of their "Droplets". As part of the install process I have installed and configured Virtual Box and Vagrant ...
1
vote
1answer
64 views

Prevent Nginx to remove port number

Well, I'm really confused. I have a web server running nginx inside a virtual machine. I'm fowarding the port 8082 from the host machine to the port 80 in the virtual machine. In fact, going to ...
0
votes
2answers
158 views

Permissions error trying to dump Redis to a Vagrant shared folder

I keep getting a permissions error when trying to dump the Redis .rdb file to my vagrant shared folder. The saves are working fine when going to the default /var/lib/redis location. A few things I've ...
1
vote
1answer
2k views

Is it possible to execute the Vagrant Ansible provisioner on a Windows host machine?

It seems that Vagrant doesn't let me automatically provision the Ansible provisioner on Windows using Vmware. I'm not really sure whether Ansible has to be installed on the host machine, (in my case ...
3
votes
2answers
889 views

vagrant public ip not accessible

I have this config: config.vm.network "public_network", ip: "192.168.56.101", :mac => "0022334455DA" And after vagrant up ifconfig prints: eth0 Link encap:Ethernet HWaddr ...
0
votes
1answer
149 views

How to provision a vagrant VM with Chef and and a .rb file filled with instructions

I probably got the whole concept wrong: I have a working Vagrant VM with Ubuntu 12.04, on top of it I want to install a few packages and config files. I have them set in Chef, in the path ...
0
votes
1answer
318 views

No builder returned for name: vagrant Packer.io error

I just want to provision a standard Ubuntu 12.04 image with a shell script, and then package it so I can use it with Vagrant. This is the configuration I wrote: { "builders": [{ "type": ...
2
votes
1answer
83 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| ...
11
votes
2answers
3k views

Relationship between Vagrant, Docker, Chef and OpenStack (or similar products)?

I am a web developer, but I am also interested in a few administrative tasks. Hence, the new move from pure administration to dev-ops comes handy for me. Anyway, I have some problems to put a few ...
0
votes
0answers
243 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: ...
1
vote
2answers
148 views

DNS not resolving the same as host

We have an OSX host and an ubuntu 10.04 vagrant instance running on virtualbox. While attempting to send an email to emailtests.com (for email testing purposes) we noticed that the DNS was not ...
0
votes
1answer
1k views

nginx on Ubuntu: Permission denied

I am new to system administration. After installing nginx via puppet on Ubuntu I get the following output: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: ...
2
votes
1answer
118 views

Running puppet on a single machine using a vagrant produced cluster

I am building a four cluster machine with Vagrant and provisioning those machines using puppet. I want to find a way to get my puppet scripts to only run on an individual machine. As it stands right ...
6
votes
1answer
502 views

Vagrant NFS share doesn't show updated file if size doesn't change

When mounting /vagrant over NFS, a changed file on the host is not refresh on the guest if the size doesn't changes. Quick update/typo are not immediately reflected unless I make enough modification ...
2
votes
1answer
300 views

Vagrant: I need a provisioning system with no dependecies

Getting off the ground with a vagrant config. Host is Windows. I have a really simple config, so I wanted to use Ansible, but got this: [default] Running provisioner: ansible... The executable ...
1
vote
2answers
807 views

“Network unreachable” with centos + chef + vagrant

I'm trying to write a Vagrantfile to install nginx on CentOS 6.4 images. In my Vagrantfile I have (ip's redacted): config.vm.provision :shell, :inline => "echo \"export ...
0
votes
1answer
180 views

Why doesn't nginx serve my 404 page under vagrant?

I have a static HTML site with a 404 page at /404/index.html. Vagrant is mapping port 80 to 9000 so I access my site at http://localhost:9000. The site is browsable, but if I try to force a 404 error ...
2
votes
2answers
793 views

How do I enable additional debugging output from Ansible and Vagrant?

I'm investigating Ansible for server and application provisioning. My application is currently provisioned with shell scripts in Vagrant. Rather than rewrite my scripts I've taken a sample and ...
1
vote
0answers
817 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 ...
5
votes
2answers
1k views

Installing package from PPA using Puppet

I'm trying to automatically provision VMs with docker pre-installed. My default init.pp looks like: class { 'apt': always_apt_update => true, } package { [ #'build-essential', ...
1
vote
1answer
1k views

Can I use Vagrant for Production Environments [closed]

This week I start playing with Vagrant and Docker. And I'm really excited with all the concept. There is anyone using Vagrant in Production Environments or is just used to maintain images of ...
2
votes
2answers
1k views

Vagrant with VMware ESXi Provider

I am attempting to work with Vagrant and the vagrant-vsphere plugin to deploy machines to my VMware ESXi server. Has anyone had any luck in getting this to work? I realize that vagrant-vsphere is ...
1
vote
2answers
1k views

Apache not automatically starting after a reboot of a Scientific Linux Vagrant Box

Every time I reboot my Scientific Linux box, I have the problem that it is not starting the Apache Web Server (httpd). I have to do it manually with this code: [vagrant@magento ~]$ sudo service ...
0
votes
0answers
58 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 ...
4
votes
2answers
868 views

How do you automatically install puppet modules on `puppet apply`

Is it possible to automatically install or include puppet modules in your puppet config? I'm having to manually run puppet module install before running puppet apply.
3
votes
1answer
658 views

Vagrant forward a range of ports

Is there a way to forward a range of ports using vagrant 1.2.1 or higher? I know that you can forward any number of ports individually by using config.vm.forward_port 80, 4567 Or, is the answer ...
3
votes
2answers
1k views

“vagrant up” fails with “NS_ERROR_CALL_FAILED” error [closed]

I am following the basic "Getting Started" guide: http://docs.vagrantup.com/v2/getting-started/index.html I ran vagrant init <etc> followed by vagrant up, but it fails with ...
0
votes
1answer
493 views

Bringing up EC2 instances with vagrant-aws errors

I'm trying to automate acceptance testing by using vagrant to bring up machines with amazon's EC2 service, so I added the dummy box and copied the Vagrantfile off Github, but when I try to run vagrant ...
0
votes
3answers
4k views

Vagrant - access guest from host via hostname [closed]

I have vagrant 1.2.2 installed in my development machine; a laptop. I use same laptop in three different environments with different networking settings. My VagrantFile looks like: ...
1
vote
1answer
222 views

Proper upstart config for meteor?

I'm hoping to find out how to tell upstart that meteor will fork more than twice? I followed their instructions at http://upstart.ubuntu.com/cookbook/#how-to-establish-fork-count to count the forks ...
0
votes
2answers
183 views

Vagrant doesn't detect chef-solo unless re-installed

I am using Vagrant to test my Chef recipes in Amazon AWS, and I am encountering an irritating issue: I initially assumed that Vagrant would install chef itself (as it does when using Virtual Box as ...
0
votes
0answers
96 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
196 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
1answer
514 views

problems specifying user password with puppet (+vagrant) on precise32 virtualbox

I'm using vagrant+puppet to provision a precise32 VirtualBox server to add users programatically. I've got everything working but I can't seem to set the password automatically by puppet. Here's my ...
0
votes
2answers
455 views

Troubleshooting why 1 vagrant works, but another does not

A user has 2 vagrant projects in their home directory. Mac OSX 10.8 The first vagrant instance was created months ago when the user was running an older version (1.1.x), the second instance was ...
-1
votes
1answer
108 views

Vagrant hosting service

On a small project we use Vagrant for development environments. Given the simplicity of the setup, we are considering using it for production since it's a small project with low traffic. I know I ...
0
votes
1answer
343 views

Puppet agent not starting?

I've attached the full output with debug to see if anyone can make sense of what is going wrong. I've tried removing /etc/puppet/ssl/ and the two nodes (agent and master) are able to ping each other ...