{"version":1,"type":"rich","provider_name":"Libsyn","provider_url":"https:\/\/www.libsyn.com","height":90,"width":600,"title":"#334 - byop - Bring Your Own Patches - an Infra-DPK Builder","description":"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   Create Patched DPK Archives  DPK Redeploy Option   byop Overview @ 10:00 Patching Surgically @ 16:30 Apply CPU Patches with Infrastructure DPK @ 27:00  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[&quot;APPLY_INFRA_CPU&quot;] || 'false'   end end    Bash alias I use to apply CPU patches via Infrastructure-DPK  $ alias applycpu='sudo APPLY_INFRA_CPU=true &amp;amp;&amp;amp; puppet apply -e &quot;contain ::pt_profile::pt_tools_deployment&quot; --confdir &amp;lt;dpk_home&amp;gt;\/puppet -d' $ applycpu  ","author_name":"The PeopleSoft Administrator Podcast","author_url":"https:\/\/www.psadmin.io\/podcasts\/the-peoplesoft-administrator-podcast-2","html":"<iframe title=\"Libsyn Player\" style=\"border: none\" src=\"\/\/html5-player.libsyn.com\/embed\/episode\/id\/25415856\/height\/90\/theme\/custom\/thumbnail\/yes\/direction\/forward\/render-playlist\/no\/custom-color\/88AA3C\/\" height=\"90\" width=\"600\" scrolling=\"no\"  allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen><\/iframe>","thumbnail_url":"https:\/\/assets.libsyn.com\/secure\/content\/143060862"}