Tagged Questions

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
1answer
245 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
264 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
151 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
73 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
162 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
1k 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
851 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
406 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
172 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
2answers
205 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
86 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
184 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
340 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
143 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
274 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
123 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
105 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
0answers
41 views

How to get Amazon AMI?

I'm trying to build a vagrant setup for development that mirrors the CentOS available on the AWS Marketplace but cannot figure out how to get the image. Are these not available for download locally in ...
0
votes
0answers
92 views

Create puppet manifests file with mariaDb

I want to customize vagrant with puppet and install there php5, apache and mariaDb. I try to use this site to generate suitable manifests file but there absent mariaDb. Can someone suggest where I can ...
0
votes
1answer
298 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
312 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
573 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
791 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
150 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
189 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
177 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
384 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
558 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
352 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
490 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
736 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
180 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
951 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
1k 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
156 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
345 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 ...
0
votes
1answer
1k 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
81 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
214 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 ...
2
votes
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 ...
5
votes
2answers
1k 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
194 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
357 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
97 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| ...