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
90 views

How can I install Development Tools via vagrant and ansible on Centos 6.7

I get this error when running my first ansible playbook (i.e. I am not familiar with ansible yet) TASK: [Install packages] ****************************************************** failed: [default] =&...
2
votes
1answer
169 views

Vagrant provision : shell script install mariadb-server on Debian prompt error

I'm looking for provisioning a Debian 8.2 Virtualbox VM with MariaDB 10. I use the following : sudo export DEBIAN_FRONTEND=noninteractive sudo debconf-set-selections <<< "mariadb-server ...
0
votes
1answer
46 views

Can't run puppet with modules on vagrant

I was studing puppet and running the manifests happened without a problem but when I added modules to puppet I run into the following issue: DEBUG ssh: Exit status: 0 INFO interface: info: Running ...
0
votes
1answer
56 views

Is it assumed that if you use Ansible, you'll use Vagrant too?

I'm building a multi-server e-commerce website using Django and PostgreSQL. I'll be utilizing multiple servers (app, database, static, etc.) from Linode. Currently I configure my servers using a ...
0
votes
0answers
41 views

Errors running Chef to provision Vagrant

I'm running Chefdk, chef-provision, and chef-provision-vagrant, and I've set up a recipe to create the VM, and another to provision. I'd like to point out that I am new to Chef (I'm more of a Puppet ...
4
votes
1answer
45 views

Why are Puppet effects disappearing after Packer post-process?

I decided to learn Packer by putting together a FreeBSD Vagrant box. The whole setup is on GitHub. Everything works well until the post-processing stage. Actually, that stage likewise claims to ...
0
votes
1answer
1k views

Ansible not found in PATH after installation on Vagrant box

The Problem For a test, I set up a very simple Vagrant file. This is just to test how working with Ansible is. Sadly I am stuck at step number 2 with the following error during vagrant up --provision ...
1
vote
1answer
292 views

Ansible hangs on git clone

I am trying to setup a task that clones a repo in a vagrant box. I have setup agent forwarding properly, added the repo server in ~/.ssh/known_hosts, and have validated I can log in as vagrant user ...
3
votes
1answer
90 views

What is the “preparing” state of a vagrant machine? [closed]

When I run vagrant global-status, I see that some of my machines are in the state "preparing", which I have not seen from global-status before. What does this status mean? It seems to change to ...
0
votes
1answer
80 views

MySQL not shutting down when trying to restart

I am running a CentOS in my Vagrant box and via SSH terminal have run the following command to restart the MySQL service sudo service mysql restart The message Shutting down MySQL appears but it ...
1
vote
3answers
3k views

php56w-common conflicts with older version of php (Centos)

I am trying to update my vagrant box to use PHP 5.6, and I am basically doing the following process on the command line. sudo yum remove php* (remove PHP) wget http://rpms.famillecollet.com/...
0
votes
0answers
90 views

Why do I get ERROR: Failed to run install_amazon_linux_ami_git_deps() when provisioning via salt from Vagrant?

I am unable to provision an Amazon ec2 linux instance (using the Amazon AMI) via salt from Vagrant. I get this error: The following SSH command responded with a non-zero exit status. Vagrant assumes ...
2
votes
1answer
72 views

Why does this AWS instance provisioned by Vagrant terminate as soon as it comes up?

My Vagrant provisioned AWS instance will terminate as soon as it comes up. Here's my config file: config.vm.box = "aws-dummy" config.vm.box_url = "https://github.com/mitchellh/vagrant-aws/raw/...
0
votes
0answers
168 views

SteamCMD + Docker + Vagrant = “Login Failure: No Connection”

i`m playing around with the SteamCMD in Docker with Vagrant on a Windows Host. Building an Image works but, i can`t login to STEAM. I'm getting following Message, if i want to Login: Steam>login ...
0
votes
1answer
80 views

Hyper-V Vagrant - Running out of memory but not sure why

I understand that something is using the memory, and forcing OOM killer to kick in and start killing processes, to the point where there is nothing more to kill and a kernel panic happens. However, ...
1
vote
0answers
78 views

uWSGI won't start via Upstart, but starts ok from the console

I'm trying to make uWSGI run on boot using Upstart on a Vagrant box. So I've created /etc/init/uwsgi.conf with the following contents: # simple uWSGI script description "uwsgi tiny instance" start ...
-1
votes
1answer
101 views

Vagrant Set IP Syntax Error

I seem to be getting an error when trying to set a static IP on a vagrant box. Within my vagrant file I have this: Vagrant.configure(2) do |config| config.vm.box = "box-cutter/centos67" config.vm....
0
votes
1answer
14 views

How to use the PHP within Terminal that comes with installed Vagrant Box instead of system PHP

I've provisioned a ScotchBox Vagrant Box, which is basically a LAMP stack. But I need to be able to use the PHP that comes with ScotchBox from Terminal instead of the system php How do I do this?
1
vote
0answers
68 views

Vagrant box_check_update error

I try to use a Vagrant environment. I have Vagrantfile and every other needs. I use Vagrant 1.4.3 version on Ubuntu 12.04.03. After vagrant up get following errors. vm: * The following settings ...
1
vote
1answer
276 views

Install drush using composer as vagrant user

I'm using Vagrant with Ubuntu Trusty x64. I want to automate the installation of certain packages so I used Ansible as provisioner (I'm a beginner). Drush is one of the package I want to install and ...
0
votes
1answer
224 views

Getting soap to run on a Vagrant CentOs machine

I have a vagrant machine on my local computer and I am testing an API that requires Soap. For the life of me I cant get soap to install on the machine. Checking phpinfo, I note: SOAP Brad ...
0
votes
1answer
59 views

salt stack `os:…` pattern not matching in top.sls

I'm attempting to differentiate between a Ubuntu box and an Arch box within my top.sls file within a Virtualbox 5.0.4 virtual machine managed by vagrant 1.7.4 using salt 2015.8.1 (Beryllium) This ...
-1
votes
1answer
75 views

Setting up a vagrant box from an existing vm

I am trying to set up a box from an existing vm. I started by mostly following the instructions at https://scotch.io/tutorials/how-to-create-a-vagrant-base-box-from-an-existing-one. But I didn't want ...
1
vote
1answer
77 views

Vagrant VirtualBox with many CPUs

I'm running a VirtualBox VM through Vagrant and I've noticed startup time performance decrease when adding more CPUs to the machine (Vagrant would timeout). E.g. there is a big difference in startup ...
0
votes
1answer
113 views

How to make a simple network bridge in Vagrant?

I'm trying do set up the most basic network bridge demo in Vagrant. I have two machines in the same subnet, but on different LANs, and a bridge machine with two interfaces and a network bridge that ...
0
votes
1answer
220 views

What is the best workflow to build and test your aws opsworks chef cookbooks locally?

For months I've been struggling to find the best workflow for building and testing my aws opsworks cookbooks locally prior to pushing to opsworks. After a lot of stalled attempts I found a blog post ...
2
votes
1answer
326 views

Timeout while waiting for the machine to boot!! Vagrant-Virtualbox

I have gentoo(linux) host machine. On which, I have Virtualbox 4.3.28 and vagrant 1.4.3 installed(these are the latest available version for gentoo). On vagrant up, the Ubuntu 14.04 gets launched. I'...
0
votes
1answer
108 views

www-data user cannot use ruby gems

I'm trying to get a virtual server running using Vagrant and VirtualBox. For the VirtualBox I'm using scotch/box which got all the basic stuff for running a ubuntu server with some components (apache, ...
0
votes
0answers
79 views

apache2: HTTP 200, browser request: pending

I have php webpage running at apache (v2.4.7). When I refresh page in browser, 1-2 random requests are sometimes pending at browser. However when I check apache access.log requested files has HTTP ...
2
votes
1answer
482 views

Vagrant + VirtualBox + X11 on a headless server

I'm trying to run a VirtualBox Ubuntu VM via Vagrant on a headless server. The VM has ubuntu-desktop package installed, however when the machine boots up I can't open X applications. DISPLAY ...
1
vote
0answers
116 views

PostgreSQL Installation on Vagrant box with symbol linked config file

I have installed PostgreSQL 9.4 on Ubuntu Trusty 64 Vagrant box. The PostgreSQL config file are sitting on my Windows hosts and linked into Vagrant box by Vagrantfile. The PostgreSQL config files ...
1
vote
1answer
109 views

virtualbox ansible and PHP

I am trying to install Centos-7 on Ubuntu vivit in Virtual Box using Ansible. I get through a large amount of configuration and set up before it fails with the message below. I have searched for ...
4
votes
1answer
368 views

start on vagrant-mounted (upstart) equivalent in systemd

I have a Vagrant box running Ubuntu 15.04, which has an upstart script that starts a service when the system boots. It has a start on vagrant-mounted stanza because the service requires that the /...
1
vote
1answer
863 views

How do you reset vagrant back to it's original state?

Ran "vagrant up" and did some changes. Want to go back to a clean installation. How do you reset vagrant back to it's original state? Do you run "vagrant destroy" and then "vagrant up" or do you "...
0
votes
1answer
122 views

Cannot access supervisor web interface on guest machine from host

I set up an ubuntu virtual machine using Vagrant. In my Vagrantfile, I have configured a private network like in the example: config.vm.network "private_network", ip: "192.168.33.10 In /etc/...
0
votes
0answers
385 views

Can't connect to the data port with FTP server running in Vagrant (passive mode)

I want to connect to Vagrant via FTP and the data connection is failing. I can actually connect and login, but when trying to enter passive mode and list the remote directory, the DATA connection can'...
1
vote
2answers
4k views

Apache 2.4 & Ubuntu 14.04 error on Vagrant: “You don't have permission to access / on this server.”

I realize there are a lot of similar questions on here, but I've been struggling with this for hours and have been unable to find a solution. When I try visiting my Vagrant Ubuntu box via the host ...
-2
votes
1answer
117 views

MariaDB will not start on reboot after changing data directory

I'm running a local vagrant setup with Centos 7. I recently changed the data directory to persist data across destroys of the box. However, now MariaDB will not start on reboot. My setup is as follows....
2
votes
1answer
254 views

nginx + php-fpm: upstream timeout

Setup: I have a virtual box (vagrant) running nginx + php-fpm inside. I have xdebug module loaded. Versions: OS: uname -a Linux vagrant-ubuntu-vivid-64 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 ...
0
votes
1answer
24 views

Where does Vagrant install plugins on Windows?

I'm looking to add some features to an opensource Vagrant plugin which was installed with vagrant plugin install. I cannot, however, find where it has put those files on Windows. Where does Vagrant ...
1
vote
0answers
300 views

How to set up port forwarding from MAC host to Vagrant Linux VM to Docker containers with Kubernetes?

I am utilizing this guide on 1 VM managed by Vagrant I can access the containers that I start locally inside the VM just fine, but I can't seem to access them from the host machine. I have kubernetes ...
-1
votes
1answer
71 views

Encountered error “in `recv': Operation timed out ” when creating an aws instance with vagrant and chef

I have used the vagrantfile to create a Virtualbox instance and it did not have any issue. However when I added the switch --provider aws I got this error message: ==> server-1: Loading Berkshelf ...
0
votes
0answers
13 views

vim package emits this error 'Caught InvalidVersionConstraint'

Here is part of my metadata.rb depends 'ubuntu' depends 'apt' depends 'python' depends 'vim' depends 'git' depends 'sensu' depends 'uchiwa' depends 'cron' When I bring up a vagrant instance, I got ...
1
vote
1answer
318 views

Glassfish 4.1 with Ansible and Vagrant: Domain doesn't start from play

I'm setting up a vagrant machine with Glassfish 4.1 using Ansible. I tried to use asadmin to start the domain, etc. According to the logs, there is no error but Glassfish doesn't starts. changed: [...
1
vote
0answers
169 views

How to setup vagrant with nginx/passenger/mysql/rvm?

Can someone please rate or help with my Vagrantfile and Chef-solo? It's an ubuntu-server 14.04LTS local VM with rvm, ruby 2.2, nginx, passenger, mysql... pretty common. All I want is to be able to ...
1
vote
1answer
35 views

Add package provider to Puppet within Vagrant

I'm using Puppet to provision a Vagrant box and would like to include a 3rd party package provider (https://github.com/torrancew/puppet-cpanm) The README.md in that repo shows how to use the provider ...
3
votes
1answer
328 views

Ansible git clone from private repo in Stash

For the life of me I can not figure out why I can not clone a private repo from Stash. Think I have tried: 1) Create 'ansible.cfg' with [ssh_connection] ssh_args = -o ForwardAgent=yes On my ...
0
votes
0answers
87 views

Vagrant plus Dokku (Docker) for a production local concurrent web server

I begin stating that I'm not quite experienced in server setup and management, and that's the main reason why I came here to ask the nice and easy/easiest way to accomplish what I need. My team and I ...
1
vote
1answer
171 views

Ansible sudo error while building on Atlas

I've been trying to build my Vagrant configuration on Atlas. Also I'm using ansible for provisioning and i have some sudo issues. After setting up VM while trying to run ansible playbook on Atlas I ...
0
votes
0answers
111 views

Package libapache2-mod-fastcgi is not available when trying to install FPM on Debian 7.8

I'm using Vagrant with Debian 7.8 and wanted to clone our production server. Our production server has php-fpm installed, however, I'm not able to install it. When trying to install my packages for ...