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

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

Released Friday, 23rd December 2022
Good episode? Give it some love!
#334 - byop - Bring Your Own Patches - an Infra-DPK Builder

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

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

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

Friday, 23rd December 2022
Good episode? Give it some love!
Rate Episode

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

Show More
Rate

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more

Episode Tags

Do you host or manage this podcast?
Claim and edit this page to your liking.
,

Unlock more with Podchaser Pro

  • Audience Insights
  • Contact Information
  • Demographics
  • Charts
  • Sponsor History
  • and More!
Pro Features