Skip to content

simon3270/prosvc-upgrade-workspace-sar

Repository files navigation

Puppet Upgrade Workspace

This project provides a Vagrant environment for demonstrating the process of upgrading Puppet code from Puppet 3 to Puppet 4 compatibility

Setup

Install Vagrant 1.5+

https://www.vagrantup.com

Install VirtualBox or VMWare

https://www.virtualbox.org/wiki/Downloads

https://my.vmware.com/web/vmware/info?slug=desktop_end_user_computing/vmware_fusion/8_0

Note: You need the vmware vagrant provider plugin to use vagrant with vmware.

Install Vagrant Plugins

Comparing Catalogs

Running Catalog Preview

vagrant up pe-386-master
vagrant ssh pe-386-master
sudo /opt/puppet/bin/puppet preview \
  --baseline-environment production \
  --preview-environment future_production \
  --migrate 3.8/4.0 \
  --nodes /vagrant/nodes.txt \
  --view overview-json | tee /vagrant/catalog_preview_overview-baseline.json

Generating an HTML report

/etc/puppetlabs/puppet/environments/production/modules/preview_report/preview_report.rb \
-f /vagrant/catalog_preview_overview-baseline.json \
-w /vagrant/preview_report.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •