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
0answers
289 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: ...
2
votes
2answers
216 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
2k 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
129 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 ...
7
votes
1answer
861 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
371 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
936 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
259 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
2k 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
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 ...
5
votes
2answers
2k 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', ...
3
votes
1answer
2k 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
2k 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
2k 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
64 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 ...
5
votes
3answers
1k 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.
4
votes
1answer
1k 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
559 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 ...
1
vote
3answers
5k 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
287 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
220 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
104 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
230 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 ...
1
vote
2answers
597 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
555 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
121 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
408 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 ...
0
votes
1answer
339 views

Enabling PDO for CLI in vagrant box precise64 (Ubuntu server 12.04 LTS)

I have vagrant box (precise64) utilizing Ubuntu server 12.04. I have installed manually (no use of LAMP) on the server the following: MySql server / MySql client - Server version: ...
3
votes
1answer
377 views

Good way to import Puppet pre-generated SSL key pair in Vagrant VM?

I'd like to setup Vagrant to use my current Puppet master as a provisioner. But I don't like the idea of embedding the SSL key pair in the .box file. What I am currently doing is distributing the ...
-2
votes
2answers
884 views

Installing virtualbox on linode

I've followed the VirtualBox installation guide found here and have switched my Linode kernel to use 2.6.32-47-generic-pae using this guide, but I still keep getting the following error when I run ...
1
vote
1answer
110 views

VPS setup for hosting more than one app (via VMs?)

First of all, I’m not an admin, so excuse me if my questions are kinda obvious/lame – I’m just a ruby programmer, which would like to host few apps on his server;) Lets say, that I’ve got 3 ...
18
votes
4answers
4k views

Vagrant box most similar to Amazon EC2 instances

Are there any 'boxes' available to download for Vagrant that closely mirror the Linux version and packages available for Amazon EC2 instances? I am testing locally using Vagrant, currently using the ...
1
vote
2answers
2k views

Configure apt to use proxy in vagrant box

I'm using Vagrant to setup a virtual machine for testing. I would like apt inside the virtual machine to use a proxy on the host machine to allow caching of all the downloads to persist between ...
0
votes
1answer
121 views

Puppet-Labs Apache Module Set Operating System type

I'm new to Puppet and having some trouble with the Puppet-Labs Apache Module http://forge.puppetlabs.com/puppetlabs/apache. I'm using it in conjunction with Vagrant as a serverless setup (if that ...
2
votes
1answer
667 views

vagrant synced_folders and VBoxInternal2/SharedFoldersEnableSymlinksCreate

ok here's the deal I'm running vagrant(ubunttu 12.10) on top of windows 8 but everytime I try to create a virtualenv (python) from within my non nfs shared folder I get a 'Protocol error', turns out ...
0
votes
2answers
220 views

Using Puppet to manage shell commands

For example lets attempt to let Puppet install the opengeo-suite. To do something like wget -qO- http://apt.opengeo.org/gpg.key | apt-key add - echo "deb http://apt.opengeo.org/suite/v3/ubuntu lucid ...
0
votes
1answer
157 views

Vagrant - Unable to up instance due to “librarian” not found (even though it's installed)

Quite a strange problem I'm having, basically I type "vagrant up" and I'm immediately presented with: Gem "Librarian" was not found. Try running `vagrant gem install librarian --no-ri --no-rdoc` Of ...
0
votes
1answer
103 views

Is there a way to specify versions for programs using Vagrant and Hosted Chef?

I am trying to improve my development workflow but am running into some major roadblocks. Currently, we develop on local Windows machines running XAMPP then after tested on an individual machine, push ...
1
vote
1answer
387 views

Percona on 2nd node will not start

I have setup two Vagrant VMs to simulate Percona XtraDB Cluster for our development needs. The first VM comes online just fine, and everything works. However, when I try to start Percona on the 2nd VM ...
1
vote
1answer
1k views

Vagrant / chef - nginx cookbook extend

I am fairly new to using chef, particularly with vagrant so this will most likely be a silly question to the more experienced users out there. I am using this cookbook: ...
6
votes
2answers
2k views

Virtualbox: How to connect to the display when launched via vagrant?

I've used vagrant to set up ubuntu 12.10. How can I actually connect to the graphical desktop? There doesn't seem to be a way in the Virtualbox manager. It shows a preview but the 'show' icon is ...
2
votes
1answer
136 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 ...
8
votes
2answers
4k views

Vagrant: Slow internet connection in guest

I'm trying to set up a vagrant. Host is Ubuntu 12.10. Here's my vagrant file: Vagrant::Config.run do |config| config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true) ...
0
votes
1answer
3k views

Configuring a static IP, gateway etc with vagrant and puppet

I'm using http://forge.puppetlabs.com/razorsedge/network but I can't configure it properly. this is my puppetfile.pp class network { static { "eth1": ipaddress => "1.2.3.248", ...
2
votes
3answers
5k views

How can I move my deploy key into vagrant?

I'd like to move a an ssh key into vagrant and put them in ~/.ssh, what's the easiest way of doing that? I have the following in my Vagrant file: config.vm.synced_folder "conf.d", "/svr/conf.d" ...
0
votes
1answer
90 views

Binding bridge to specific host nic

When I use: config.vm.network :public_network It asks me which nic to bridge against. How do I set that up in the Vagrantfile so I don't have to choose on vagrant up
4
votes
3answers
2k views

Vagrant OS X host nfs share permissions error - Failed to set owner to '1000'

I am a Vagrant and Puppet newbie, I have created a Base Box with Debian Squeeze plus standalone Puppet, using the instructions here to install Puppet with the Puppetlabs packages. The box itself ...
1
vote
1answer
476 views

smtp on vagrant box, connection times out

I have a vagrant box running ubuntu 11.10 and a PHP script that uses swiftmailer to send email. My mail provider is SES, although I've replicated the issue with Mailgun and sendgrid as well. My ...
2
votes
0answers
601 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 ...