-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathVagrantfile
More file actions
22 lines (21 loc) · 772 Bytes
/
Copy pathVagrantfile
File metadata and controls
22 lines (21 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu_aws"
config.vm.box_url = "https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box"
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root"
config.vm.provider :aws do |aws, override|
aws.keypair_name = "development"
override.ssh.private_key_path = "~/.ssh/development.pem"
aws.instance_type = "t1.micro"
aws.security_groups = "development"
aws.ami = "ami-c5afc2ac"
override.ssh.username = "ubuntu"
aws.tags = {
'Name' => 'Nodejs App',
}
end
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "init.pp"
puppet.options = ["--fileserverconfig=/vagrant/puppet/fileserver.conf"]
end
end