Provisioners in Vagrant allow you to automatically install software, alter configurations, and more on the machine as part of the vagrant up process. Vagrant gives you multiple options for provisioning the machine, from simple shell scripts to more complex, industry-standard configuration management systems.
Questions tagged [vagrant-provision]
210 questions
0
votes
1 answer
puppet provisioning after vagrant multi-machine have all booted
In our current scenario we have a Vagrantfile that creates two machines - app1 and app2. I then have a puppet provisioning set up that installs a number of modules (all of our application components). The way that our applications work requires that…

Ze_Gitan
- 194
- 7
0
votes
1 answer
How to setup ansible_local with vagrant 1.7.4?
I have this configuration of my host machine:
hedin@home:~/123$ lsb_release -rcd
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
hedin@home:~/123$ vagrant -v
Vagrant 1.7.2
I'm trying to deploy my guest with…

Roman Storozhenko
- 369
- 1
- 3
- 16
0
votes
2 answers
Running ansible insertLine command: Does the complete wrong thing, and i have no clue why
so i have this line in my configuration.yml(ansible task)
- name: inserting password into database.php
lineinfile: dest=/vagrant/htdocs/app/config/database.php insertbefore="^\s*'pgsql' => array" regexp="^\s*'password'" line=" …

DenLilleMand
- 3,732
- 5
- 25
- 34
0
votes
1 answer
Puppet Dependency file failing in local Vagrant Environmnet
Below is my Puppet code for a Python Django App.
class ltp ($project_dir = '/vagrant') {
exec {
"install_project_dependencies":
cwd => $project_dir,
command => "/usr/bin/python setup.py install > /tmp/setuplog…

Piyush Patil
- 14,512
- 6
- 35
- 54
0
votes
1 answer
Yum module not found ansible
I'm very new to Vagrant and Ansible, somehow I managed to setup Vagrant and have a box running but when i try to provision it with Ansible then I get error.ImportError: No module named yum
My playbook looks like below :-
---
- hosts: default
…

Akhil
- 1,184
- 1
- 18
- 42
0
votes
1 answer
Execute shell script present in host machine path in vagrant
My Vagrantfile is
$script = <