Skip to content

sshastri/puppet-upgrade-workplace

 
 

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-385-master
vagrant ssh pe-385-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

Vagrant environment for using Puppet's Catalog Preview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 69.0%
  • Puppet 20.4%
  • HTML 5.2%
  • Augeas 1.8%
  • Vim Script 1.0%
  • CSS 0.8%
  • Other 1.8%