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

Vagrant don't sync shared folder

I want to add Vagrant to my rails project.After installing the requirements and log in to my VM with Vagrant ssh,I can't find files of my project in guest Vagrant folder.It's empty ! Cheffile ...
0
votes
0answers
20 views

“More than one MPM loaded” when trying to start apache on Vagrant Ubuntu box

Whenever I try sudo apache2ctl start I receive the following message: AH00534: apache2: Configuration error: More than one MPM loaded. Action '-k restart' failed. The Apache error log may have more ...
0
votes
1answer
19 views

How can I specify an environment for salt's top.sls file from Vagrant?

I want to use Vagrant to deploy a range of boxes with salt. I've looked through all the available Vagrant salt options available in salty-vagrant (now built in) and I can't see any that would let me ...
1
vote
0answers
15 views

How to provision Vagrant to set a proxy and use it? [migrated]

I have the following setup: Windows 7 computer Installation of Ruby, Vagrant, VirtualBox VBox image Ubuntu 14.x Working in the intranet of my company that needs a proxy to access the internet I am ...
0
votes
0answers
5 views

Why is ping resolving to an IP 198.105.254.228 for any random hostname that i type? [migrated]

I have a precise32 (ubuntu 12.04) vagrant vm running on my system. If i try to ping a random string, eg ping "thisip.doesnot" it resolves to an IP 198.105.254.228 . This is try for any other random ...
0
votes
1answer
61 views

MariaDB 10.0 / Docker / Vagrant - Sub-process /usr/bin/dpkg returned an error code

MariaDB 10.0 does not install properly when using Vagrant, Docker and other virtualised services. $ DEBIAN_FRONTEND=noninteractive apt-get install -y mariadb-galera-server Setting up ...
0
votes
1answer
21 views

Chef-solo: how can I install a package mailutils in ubuntu?

I want to install the command line mail in my ubuntu box in Virtual box. The command line will be sudo apt-get install mailutils. What is the best to achieve the same via chef-solo? I don't think ...
0
votes
1answer
19 views

Specifying config.vm.synced_folder at run time

I'd like to give the user the ability to specify the path to the folder they want to share with the Vagrant box when they provision the machine, eg via a command prompt entry: config.vm.synced_folder ...
0
votes
0answers
36 views

nginx 403 Forbidden on CentOS (Vagrant) [migrated]

What I have checked so far: Logs - they are empty, booted a new VM. Permissions: $ namei -l /var/www/awesome/ f: /var/www/awesome/ dr-xr-xr-x root root / drwxr-xr-x root ...
0
votes
1answer
59 views

Apache + mod_ssl (on Vagrant) HTTP connection works fine, HTTPS connection times out

Introduction Hi guys, this is quite a strange one that I've been battling with for a few hours now. I have a CentOS Vagrant box with a network adapter attached to my NAT (as opposed to host only). I ...
0
votes
2answers
41 views

Nginx http prefixes in upstream server

I'm trying to use nginx to proxy pass to two docker containers. Here is my upstream conf file: upstream api_servers { server http://192.168.49.4:49155; server http://192.168.49.4:49156; } This ...
-1
votes
0answers
79 views

Warning: Connection timeout. Trying to ssh into a vagrant box [migrated]

I used https://puphpet.com/ to develop a machine, its VagrantFile is http://codepad.org/lSV7EDrC Now after doing vagrant up the machine builds fine, but on vagrant ssh I get this: default: SSH ...
-2
votes
1answer
98 views

How to make sudo -u not require password [closed]

I'm using ansible with vagrant and ansible is trying to sudo as postgres user to run some postgres commands. Ansible running as vagrant user seems to run something like sudo -u postgres psql This ...
0
votes
1answer
18 views

how to configuring vagrant to allow some specific IP to be available on a windows machine?

I have Vagrant installed on my windows machine. I am using putty to ssh to the ubuntu machine. Lets say that I need some specific service (let's say a graphite for stats) which should be reached with ...
0
votes
2answers
58 views

SSH tunnel (port forwarding) slow down a lot my mysql queries

I'm currently testing some configurations with vagrant (virtual box) to connect 2 servers (VM currently) together throw an SSH tunnel. The goal being to securely connect my web app to the database. ...
0
votes
1answer
67 views

Vagrant private IP not found after network change

I've got a simple Vagrant Ubuntu virtual machine setup using Virtual Box, running on a Mac. I'm using private networking, configured with a static private IP like so: Vagrant.configure("2") do ...
0
votes
2answers
94 views

Unable to ssh to a vagrant started ec2 ubuntu instance

After I ran vagrant up --provider=aws, I could see an ec2 instance being created and became up and running. However it will invariably stuck at this point ==> default: Waiting for SSH to become ...
-1
votes
1answer
51 views

Chef freezes on vagrant centos box

I have a centos-6.5 box. Strangely it freezes when I try to request its provision by chef. Here's a sample of what goes when I try to vagrant provision --debug it [2014-10-10T20:33:33+00:00] INFO: ...
0
votes
0answers
18 views

Network error when running multiple Virtual Boxes

I have a Ubuntu 14.04 physical desktop that's running some Virtual Box instances (also Ubuntu) through Vagrant. The Virtual Box instances are configured to use static ip and with "natdnshostresolver1" ...
0
votes
1answer
73 views

pgpool run and only log one line

I am using pgpool and when I run: sudo pgpool -f pgpool.conf -F pcp.conf -n It just log one line and keep waitting.... : 2014-10-09 13:27:42 LOG: pid 28626: wd_chk_setuid: ifup[/sbin/ifconfig] ...
0
votes
2answers
53 views

ssh into virtual machine (or direct VM console access)

I am trying to launch multiple VMs and need to have a direct console access (whether through ssh etc.) So, far I can launch multiple VMs using virsh/KVM tools. How I do it is that I just have one ...
0
votes
1answer
72 views

Yum php-yaml install issues

We had an issue with an ansible playbook using vagrant - where formerly php-yaml was installing fine. Then, we were getting issues with our PHP repo: [vagrant@localhost ~]$ sudo yum install php-yaml ...
0
votes
0answers
42 views

puppet xdebug.ini not working

I install xdebug puppet Here is folder structure /myproject Vagrantfile puppet\ xdebug\ files\ xdebug.ini manifests\ init.pp This is ...
0
votes
0answers
43 views

installing drupal drush thru vagrant puppet

this is part of puppet manifest class composer { file { '/tmp/composer.sh': source => 'puppet:///modules/composer/composer.sh', ensure => present, ...
0
votes
0answers
29 views

Dovecot Replication(between CentOS vms) not working

I have the following configuration: 2 Virtual Machines(set up using Vagrant) with CentOS 7( master_1 - 127.0.0.1:2222 and master 2 - 127.0.0.1:2200). Each has installed postfix + dovecot 2.2.10. My ...
-1
votes
1answer
41 views

how to ssh into a vagrant box when working with multi-vagrant environments?

I have two vagrant boxes (wordpress VVV and laravel homestead) running at the moment at the same time. I always ssh to the machine with putty 127.0.1.1:2222 if I run vagrant homestead first I can only ...
1
vote
1answer
153 views

Remote automated provisioning to a XenServer Hypervisor

I'm currently working on a project where I use Vagrant with Ansible provisioning to create local environments in VirtualBox. I'm currently working with a University and we have a XenServer Hypervisor ...
0
votes
1answer
187 views

Issues installing Grunt in Vagrant environment

I am attempting to install node.js, npm and Grunt.js in an Ubuntu Trusty 64bit Vagrant environment and running into some issues. Here is my puppet manifest: init.pp -- class grunt::install { ...
0
votes
1answer
38 views

puppet stage syntax error

I have a shell script to install nodejs module packages which should be execute after all packages are installed. I defined a stage 'last' after the Stage[main] here is my code stage { 'last': } ...
0
votes
2answers
38 views

failed to copy a shell script from host to a vagrant box

Host is Windows 8 I prepared a shell script which execute secure_mysql_installation This is the folders structure c:\myproject\ Vagranfile puppet\ files\ ...
0
votes
3answers
209 views

Exim says DNS lookup succeded, but also says “host lookup did not complete”

I'm trying to send automatic notification emails to users of my website. Those emails are sent to the users by a custom daemon that sends them via exim 4. Exim's role in this is simply to relay the ...
2
votes
1answer
164 views

Have a Vagrant VM destroy itself or power off on completion of a long-running task

I've been using Vagrant with Ansible to perform certain ETL tasks. This has provided some flexibility and transparency: jobs can be easily be moved around and the YAML playbook provides some level of ...
0
votes
2answers
66 views

How can I ssh into a vagrant virtualbox VM from an external machine?

I'm trying to set up a server on my desktop with vagrant, but while I can ssh (via PuTTY) into the VM at localhost:2222, I can't ssh into it via my local or public IP addresses - even though I have ...
0
votes
0answers
167 views

Deploy packer images on bare metal server?

How can I match my dev and production bare metal box? The hosting provider does not allow or have a process to install custom images and only provides a selection from all the latest popular ...
0
votes
0answers
42 views

Replicate server environment and directory structure using Vagrant

I am a developer by trade but am not used to configuring VM's and servers, so I apologize if these questions seem rather novice. I have recently started trying to use Vagrant for local development of ...
0
votes
2answers
72 views

Keepalived loses VIP upon power cycle of master

I have two servers running Keepalived 1.2.7 with hostnames left and right. Here are the configs: # keepalived.conf on left vrrp_instance VI_1 { state MASTER interface eth1 ...
1
vote
2answers
113 views

Restarting mysql utilizing the puppetlabs/mysql module?

I have two folders -- one is 'public_modules' and the other is 'private_modules'. When I start a new Vagrant machine, the 'public_modules' folder is populated with modules as described in my ...
0
votes
1answer
815 views

Vagrant not ready for SSH error on VirtualBox and Laravel Homestead

Vagrant Version: 1.6.3 VirtualBox: 4.3.14 Ubuntu 14.04 LTS 64 Bit Hey Guys, I have been on this for a pretty good while now and cannot figure this out. I have my public and private keys setup and ...
-1
votes
1answer
100 views

Vagrant Determining IP information for eth2… failed [closed]

Im running a vagrant file to bring up a CentOS Virtual Box on OSX, but when running vagrant up it always fails at default: Configuring and enabling network interfaces... with the error: The following ...
0
votes
3answers
48 views

Ways to deliver server solution set to customers

I'm looking for ways to deliver our server solution set to customer. So that customer can easily install and experience our solution. Our server solution set includes tomcat+webapp, memcached, db ...
2
votes
1answer
208 views

vagrant plugin install error

I'm trying to install a vagrant plugin $ vagrant plugin install vagrant-aws which exits with this error: Make sure that `gem install nokogiri -v '1.6.3.1'` succeeds before bundling. When I try ...
0
votes
1answer
416 views

vagrant port forwarding does not work without any error

I'm trying to set up my project into virtual machine so I can work with it from my host machine. I've set up port forwarding in vagrantfile and when I run 'vagrant up' everything is ok and there is no ...
0
votes
0answers
83 views

Importing an ARM qemu machine using libvirt

Context: I'm trying to virtualise a raspbian disk image using qemu so that I can easily use it with vagrant/puppet. The steps I've figured out so far are create a VM using qemu import this VM into ...
1
vote
1answer
232 views

Upstart can't stop foreverjs services on shutdown?

Scenario We use a Vagrant-based virtual machine running Ubuntu 12.04 LTS for development of three Node.JS servers that are started using foreverjs. We run the services under the vagrant user and ...
4
votes
1answer
1k views

Weird network problems with Vagrant, VirtualBox, Ansible and Ubuntu Server box

We are using Vagrant and Ansible to provision VirtualBox machine. It was working great, but recently we've started to encounter some weird network problems with tasks that require access to the ...
-1
votes
2answers
100 views

hiera.yaml is not loading on vagrant provision

Whenever I provision vagrant all the data is nil. When I ssh in and specify /etc/puppet/hiera.yaml as the config option i can get the values. How can I get vagrant to use the right hiera.config file? ...
1
vote
1answer
208 views

Nginx unmet dependencies over Vagrant / Puppet

I have no such issue on 64bit Ubuntu Precise, but once I tried to start 32bit machine, it failed on this command: # /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install ...
0
votes
1answer
47 views

How to change the default timeout configuration file for composer

I've been searching all over the internet and I can't seem to find any help as to where my composer's configuration file is saved to. Basically what I'm trying to do is change the ...
2
votes
1answer
213 views

Is it possible to use Docker or Vagrant to provision a physical machine

Currently at my work we use buildroot to provision physical machines with Debian linux. Buildroot compiles a rootfs.cpio.gz file which the machines to be provisioned pick up using PXE, runs a script ...
0
votes
0answers
35 views

Access VM from network

For my PHP-development I have VagrantBox running CentOS. This box however is only accesible from my own computer because it only has a NAT-interface and a Host-Only-network. But when I want to test it ...