P
P
PopeyetheSailor2014-01-08 18:59:14
git
PopeyetheSailor, 2014-01-08 18:59:14

How to get vagrant and git working together?

I started working with vagrant and there is a little misunderstanding - how to properly store vagrant, puppet ect configuration files? Put in the project repository? Or For configs, start a separate repository, and use the project code as a submodule? I don't like either of these approaches. What do you advise?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey_z, 2014-01-09
@sergey_z

in Vagrant file:

config.vm.provision :shell do |shell|
    shell.inline = "
       puppet module install puppetlabs/apt --version 1.4.0;
    "
end

this way you can install any module from https://forge.puppetlabs.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question