Artwork

Content provided by Dan Iverson. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Dan Iverson or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

#334 - byop - Bring Your Own Patches - an Infra-DPK Builder

31:53
 
Share
 

Manage episode 350577296 series 1318501
Content provided by Dan Iverson. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Dan Iverson or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

This week on the podcast, Dan discusses a new tool he built to simplify CPU patches by using the same tools as the Infrastructure DPK. byop, or Build Your Own Patches, will take a list of patches to download and store them in a format that matches the Infrastructure DPK.

Show Notes Dan's method to apply CPU patches

Custom Fact to trigger Infrastructure-DPK processing

  • /puppet/production/modules/pt_role/lib/facter/cpu.rb

    # Set the env var APPLY_INFRA_CPU=true and run the DPK to apply the Infra-DPK patches Facter.add(:apply_infra_cpu) do setcode do apply_infra_cpu = ENV["APPLY_INFRA_CPU"] || 'false' end end

Bash alias I use to apply CPU patches via Infrastructure-DPK

$ alias applycpu='sudo APPLY_INFRA_CPU=true && puppet apply -e "contain ::pt_profile::pt_tools_deployment" --confdir /puppet -d' $ applycpu
  continue reading

278 episodes

Artwork
iconShare
 
Manage episode 350577296 series 1318501
Content provided by Dan Iverson. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Dan Iverson or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

This week on the podcast, Dan discusses a new tool he built to simplify CPU patches by using the same tools as the Infrastructure DPK. byop, or Build Your Own Patches, will take a list of patches to download and store them in a format that matches the Infrastructure DPK.

Show Notes Dan's method to apply CPU patches

Custom Fact to trigger Infrastructure-DPK processing

  • /puppet/production/modules/pt_role/lib/facter/cpu.rb

    # Set the env var APPLY_INFRA_CPU=true and run the DPK to apply the Infra-DPK patches Facter.add(:apply_infra_cpu) do setcode do apply_infra_cpu = ENV["APPLY_INFRA_CPU"] || 'false' end end

Bash alias I use to apply CPU patches via Infrastructure-DPK

$ alias applycpu='sudo APPLY_INFRA_CPU=true && puppet apply -e "contain ::pt_profile::pt_tools_deployment" --confdir /puppet -d' $ applycpu
  continue reading

278 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide