Skip to content

Instantly share code, notes, and snippets.

@tmclaugh
Created August 8, 2014 17:03
Show Gist options
  • Save tmclaugh/cd5e8a59ac17ba517067 to your computer and use it in GitHub Desktop.
Save tmclaugh/cd5e8a59ac17ba517067 to your computer and use it in GitHub Desktop.
LB profile
Vagrant.configure('2') do |config|
config.vm.define "nginx-lb", primary: true do |nginx|
nginx.vm.hostname = 'lb.hubspot.local'
nginx.vm.provision :puppet_server, id: 'default_puppet_server' do |p|
p.puppet_server = "puppetmaster.hubspot.local"
p.options = "--verbose --waitforcert 120"
p.facter = { 'role' => 'hubspot::roles::puppet::role_puppetmaster',
'hs_lb_type' => $hs_lb_type,
'hs_server_names' => $hs_server_names
}
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment