Created
October 14, 2015 19:35
-
-
Save frozenfoxx/f3a77db68c31b213c9d8 to your computer and use it in GitHub Desktop.
Vagrantfile-puppet-ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| # Every Vagrant development environment requires a box. You can search for | |
| # boxes at https://atlas.hashicorp.com/search. | |
| config.vm.box = "puppetlabs/ubuntu-14.04-64-puppet" | |
| # Create a forwarded port mapping which allows access to a specific port | |
| # within the machine from a port on the host machine. In the example below, | |
| # accessing "localhost:8080" will access port 80 on the guest machine. | |
| # config.vm.network "forwarded_port", guest: 80, host: 8080 | |
| # Create a private network, which allows host-only access to the machine | |
| # using a specific IP. | |
| # config.vm.network "private_network", ip: "192.168.33.10" | |
| # Shared directories | |
| # Puppet | |
| config.vm.provision "puppet" do |puppet| | |
| puppet.options = "--verbose --debug" | |
| puppet.environment_path = "/etc/puppetlabs/code/environments" | |
| puppet.environment = "production" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment