Artwork

内容由Dan Iverson提供。所有播客内容(包括剧集、图形和播客描述)均由 Dan Iverson 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

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

31:53
 
分享
 

Manage episode 350577296 series 1318501
内容由Dan Iverson提供。所有播客内容(包括剧集、图形和播客描述)均由 Dan Iverson 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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

352集单集

Artwork
icon分享
 
Manage episode 350577296 series 1318501
内容由Dan Iverson提供。所有播客内容(包括剧集、图形和播客描述)均由 Dan Iverson 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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

352集单集

Todos os episódios

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南

边探索边听这个节目
播放