使用Player FM应用程序离线!
#334 - byop - Bring Your Own Patches - an Infra-DPK Builder
Manage episode 350577296 series 1318501
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- psadmin.conf @ 1:30
- Infra-DPK Overview @ 4:45
- byop Overview @ 10:00
- Patching Surgically @ 16:30
- Apply CPU Patches with Infrastructure DPK @ 27:00
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' $ applycpu352集单集
Manage episode 350577296 series 1318501
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- psadmin.conf @ 1:30
- Infra-DPK Overview @ 4:45
- byop Overview @ 10:00
- Patching Surgically @ 16:30
- Apply CPU Patches with Infrastructure DPK @ 27:00
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' $ applycpu352集单集
Todos os episódios
×欢迎使用Player FM
Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。