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

4
votes
1answer
3k views

How to set up :datadir: when using Hiera with Puppet and Vagrant

I'd like to know how to set up :datadir: in hiera.yaml for optimal usage with Puppet and Vagrant. Currently I'm using vagrant 1.5.0 with virtualbox 4.2 on Ubuntu 13.10 with an Ubuntu 12.04 guest ...
3
votes
1answer
1k views

How to get decent NFS performance for workloads like git?

I manage a vagrant setup for our developers running OSX to manage VirtualBox systems for development. In order to support inotify inside the linux machine, we eschew the usual method of sharing ...
2
votes
5answers
4k views

SSH aborts with Too many authentication failures

I'm attempting to run this simple provisioning script but I'm encountering errors when running vagrant up and then vagrant provision commands. I read that I needed to create a /etc/ansible/hosts file ...
0
votes
1answer
49 views

creating development environment with a button click

We create development and testing environments manually and its taking lot of manual effort and time now. We want to completely automate that like "click a button to create a development/testing ...
0
votes
1answer
164 views

Tunnel interface inside Virtualbox IP forwarding

I am working on a solution to expose a development stack that resides inside a Virtualbox guest up to the Internet through OpenVPN tunnels. OpenVPN client fires up inside the guest VM and connects ...
3
votes
0answers
208 views

Interactive commands with vagrant ssh. Backspace does not erase character

I have up and running Ubuntu precise32 vagrant machine. Now I have some scripts on this guest machine. Those scripts are interactive and are not part of the provisioning. What I want is to execute ...
1
vote
0answers
213 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 ...
4
votes
1answer
1k views

Ansible playbook not working trying to run make & configure with complex switches

This is a follow-on to this question. I'm trying to use Ansible to provision a Vagrant VM. The VM is running CentOS 6.4. I'm using the following (abbreviated) ansible playbook: - hosts: default ...
1
vote
2answers
2k views

Ansible playbook not working trying to run patch

I'm trying to use Ansible to provision a Vagrant VM. The VM is running CentOS 6.4. I'm using the following (abbreviated) ansible playbook: - hosts: default vars: home: '/home/vagrant' ...
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 ...
4
votes
1answer
244 views

Print hiera config to multiple lines in config file managed by puppet

In my yaml file I have multiple values that need to be printed out into an ini file managed by another php module. I can grab the values through heira and output them to the ini file but it's in the ...
0
votes
1answer
255 views

Recreating CentOS environment with Vagrant

I have a Vagrant and CentOS related question. I'm trying to replicate a CentOS server which uses WHM/cPanel for hosting. Each site on the server is hosted in /home/$user/. This means with Vagrant I ...
1
vote
1answer
275 views

Bootstrap Chef on Vagrant Box

I'm trying to bootstrap a Vagrant box using hosted chef server. knife bootstrap testbed001.me --sudo -x root -N "testbed001" However, the command throws an error: Bootstrapping Chef on ...
6
votes
2answers
1k views

How can I get Vagrant to start the server on startup?

I want Vagrant to start the Play server in the /vagrant/ folder every time I do vagrant up. Putting @reboot on the crontab doesn't work because the script runs before the /vagrant/ folder is ...
0
votes
1answer
164 views

puppet gitlab postgresql conflict

I#m trying to setup a VM with postgresql and gitlab. I'm using the following packages: gitlab & postgresql This is my init.pp class { 'postgresql::server': ip_mask_deny_postgres_user => ...
0
votes
1answer
79 views

An image of my server for use with Vagrant?

Is it possible to build a box for vagrant from a real box? I have inherited some CentOS servers I'd like to use as base boxes.
-1
votes
1answer
2k views

Failed to mount folders in Linux guest [closed]

Until I reinstalled my Virtual Box and Vagrant, everything worked properly. Now, config.vm.synced_folder "source/tk_dev/src/repo/app", "/home/vagrant/www/tk_dev/app" in my Vagrantfile leads to the ...
0
votes
1answer
166 views

Start a sub provision in Salt

I need to have two project. One is to set up the server. The other is the web app. I'm trying to use SaltStack to do this via Vagrant. What I want to happen is that after the server is ...
2
votes
1answer
2k views

Connection refused from outside Vagrant box with private network

I've set up CentOS 6 on a vagrant box with a private network IP. I can ssh into the box using the IP, so that is working. However, I get a Connection refused on port 80 when curl'ing it. There's a ...
1
vote
2answers
985 views

How to upload configuration files using the shell provider?

Apart from installing applications like emacs on my guest machine, I would also like to upload some configuration files (e.g. to configure emacs for Clojure development). Sadly, Vagrant's ...
0
votes
1answer
427 views

Capture virtual vagrant server smtp on my actual computer

I'm running a number of virtual servers using vagrant on my computer. This is working well. I have installed Postfix to send SMTP inside these virtual servers. But what I want to do is have Postfix ...
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 ...
2
votes
3answers
250 views

Vagrant single box with multiple addressable domain.locals

I currently utilize Vagrant and Chef to provision individual linux VMs for different apps. These apps are domain addressable from host, without requiring anything else set up on the host. This is ...
0
votes
0answers
92 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 ...
3
votes
2answers
2k views

Should I install Ansible with python pip or homebrew on Mac OSX Mavericks? [closed]

I recently moved to using OSX to administrate my linux box, so I'm very new to using linux programs on OSX. I want to use Vagrant with Ansible to bootstrap my development environment, so I need to ...
1
vote
4answers
195 views

Setting up dev environments with big databases

This is my first time here. I recently joined as a system admin at a company and my recent assignment is to make friendlier dev environments for our devs. Until now our devs connect to our remote box, ...
0
votes
1answer
381 views

SSH'ing into Windows VirtualBox with Vagrant

I am running vagrant 1.3.5 on OSX 10.9. I have a Windows Server 2008 VM installed via VirtualBox. I am trying to set it up so I can ssh into Windows Server 2008 box using vagrant. The steps I am ...
0
votes
1answer
153 views

Memcached is slowing down the website in VirtualBox [closed]

I noticed our web project (Drupal) runs slower when it's using memcached in the virtual box. The page load time is more the twice as fast without memcached. I haven't noticed any unnatural memcached ...
1
vote
1answer
290 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 ...
4
votes
1answer
127 views

Why would Puppet exclude a file resource without error?

The oddest thing is happening during this Puppet run (using Puppet Apply) and it has me perplexed. I've tried my usual channels to find solutions but I cannot find anything on the topic. I apologize ...
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, ...
0
votes
1answer
309 views

use ssh-agent to connect to vagrant-lxc machines

I'd like to connect to a vagrant-lxc machine using a ssh-key which is already loaded. To make it a little bit more clear, here's my setup: Load ssh-key in Windows via PuTTy connect to vagrant host ...
0
votes
1answer
2k views

ENOENT errors when running npm inside vagrant shell provision

Have a project with the following package.json file: { "name": "requirejs-library-skeleton", "description": "RequireJS skeleton for modern JS libraries.", "version": "0.2.0", ...
2
votes
1answer
341 views

Can't find installed module on modulepath

I'm attempting to use the maestrodev/rvm module when provisioning a virtual machine with Vagrant, but am running into a problem when attempting to include rvm. I keep getting Error: Could not find ...
4
votes
1answer
589 views

RedirectLimitExceeded while running chef client

I'm using for the first time chef solo for provisioning a Windows box created with Vagrant. While trying to apply the sql_server cookbook I get the following error: [2013-11-14T09:41:24+01:00] ...
6
votes
1answer
857 views

Vagrant synced folders aren't case sensitive

For our web stack, we are moving from a Windows Server to CentOS. To facilitate development, we're utilizing Vagrant to run CentOS VMs locally. We're using Vagrant's Synced Folders feature to allow ...
1
vote
0answers
154 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 ...
0
votes
1answer
202 views

Vagrant sahara plugin - multiple snapshots

How I can make more than one snapshot when in sahara sandbox mode? Or, can I see list of all commits I've ever made and rollback to any? Why do I need all this? I just want to setup initial VM. ...
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
votes
1answer
424 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
580 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
381 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
572 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 ...
2
votes
1answer
865 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
184 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 ...
2
votes
2answers
1k 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
2k 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
161 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
353 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
1k 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 ...