-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathVagrantfile
More file actions
37 lines (31 loc) · 982 Bytes
/
Vagrantfile
File metadata and controls
37 lines (31 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.ssh.insert_key = false
config.vm.box = "carroarmato0/centos7-puppet4"
config.vm.box_check_update = true
config.vm.synced_folder "puppet/hiera_data", "/var/lib/hiera"
config.vm.provision "puppet" do |puppet|
env = 'dev'
puppet.hiera_config_path = "puppet/hiera.yaml"
puppet.environment = "puppet"
puppet.environment_path = "."
puppet.options = "--verbose --debug"
end
config.vm.define "prometheus" do |node|
node.vm.hostname = "prometheus.jexia.cloud"
node.vm.network "private_network", ip: "192.168.10.60"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.cpus = 1
end
end
config.vm.define "nodexporter" do |node|
node.vm.hostname = "nodexporter.jexia.cloud"
node.vm.network "private_network", ip: "192.168.10.62"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.cpus = 1
end
end
end