Skip to content

Commit b7aca4a

Browse files
committed
(maint) update smoke test puppet
1 parent c2e16af commit b7aca4a

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

boxes/smoketest-puppet/Vagrantfile

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
install_pe = false
2-
pe_version = '3.8.0'
2+
pe_version = '2016.1'
33
#Vagrant.require_plugin "vagrant-windows"
44

55
if install_pe
@@ -17,9 +17,12 @@ Vagrant.configure("2") do |config|
1717
master.vm.box = "centos-6.5-64-nocm"
1818

1919
master.vm.provider :virtualbox do |v, override|
20+
v.linked_clone = true if Vagrant::VERSION >= '1.8.0'
2021
override.vm.network :private_network, ip: "192.168.0.6"
2122
# Use the host's DNS resolver
2223
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
24+
# make sure you've given the master enough memory.
25+
# It's closer to 6GB req in the 4.x series
2326
v.customize ["modifyvm", :id, "--memory", "2048"]
2427
v.customize ["modifyvm", :id, "--cpus", "2"]
2528
end
@@ -54,6 +57,7 @@ Vagrant.configure("2") do |config|
5457
# centos.vm.provider :virtualbox do |v, override|
5558
# override.vm.network :private_network, ip: "192.168.0.7"
5659
# # Use the host's DNS resolver
60+
# v.linked_clone = true if Vagrant::VERSION >= '1.8.0'
5761
# v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
5862
# end
5963

@@ -115,6 +119,7 @@ Vagrant.configure("2") do |config|
115119
# Provider-specific configuration so you can fine-tune various
116120
# backing providers for Vagrant. These expose provider-specific options.
117121
win2012.vm.provider :virtualbox do |v, override|
122+
v.linked_clone = true if Vagrant::VERSION >= '1.8.0'
118123
override.vm.network :private_network, ip: "192.168.0.12"
119124
# Don't boot with headless mode
120125
v.gui = true
@@ -176,6 +181,7 @@ Vagrant.configure("2") do |config|
176181
# Provider-specific configuration so you can fine-tune various
177182
# backing providers for Vagrant. These expose provider-specific options.
178183
win2008.vm.provider :virtualbox do |v, override|
184+
v.linked_clone = true if Vagrant::VERSION >= '1.8.0'
179185
override.vm.network :private_network, ip: "192.168.0.12"
180186
# Don't boot with headless mode
181187
v.gui = true
@@ -236,6 +242,7 @@ Vagrant.configure("2") do |config|
236242
# Provider-specific configuration so you can fine-tune various
237243
# backing providers for Vagrant. These expose provider-specific options.
238244
win2003.vm.provider :virtualbox do |v, override|
245+
v.linked_clone = true if Vagrant::VERSION >= '1.8.0'
239246
override.vm.network :private_network, ip: "192.168.0.12"
240247
# Don't boot with headless mode
241248
v.gui = true
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,30 @@
11
#Puppet Master Install
22
# http://docs.puppetlabs.com/guides/installation.html#red-hat-enterprise-linux-and-derivatives
3+
# https://docs.puppet.com/puppetserver/2.3/install_from_packages.html
34

45
# add the RPM
56
# http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-red-hat-enterprise-linux-and-derivatives
6-
sudo rpm -ivh http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm
7+
# https://docs.puppet.com/puppet/latest/reference/puppet_collections.html
8+
#sudo rpm -Uvh http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm
9+
sudo rpm -Uvh https://yum.puppetlabs.com/puppetlabs-release-pc1-el-6.noarch.rpm
710
#sudo yum -y install puppet
8-
sudo yum -y install puppet-server
11+
# 3.x series
12+
#sudo yum -y install puppet-server
13+
# 4.x series
14+
sudo yum -y install puppetserver
15+
16+
# Debian
17+
# 3.x series
18+
# sudo apt-get install -y puppet-server
19+
# 4.x series
20+
# sudo apt-get install -y puppetserver
921

1022
# autosign on - never use this for production
1123
sudo sh -c "echo * > /etc/puppet/autosign.conf"
1224

1325
# http://docs.puppetlabs.com/guides/installation.html#post-install
14-
sudo puppet resource service puppetmaster ensure=running enable=true
26+
# 3.x series
27+
#sudo puppet resource service puppetserver ensure=running enable=true
28+
# 4.x series
29+
#sudo systemctl start puppetserver
30+
sudo service puppetserver start

0 commit comments

Comments
 (0)