Skip to content

Instantly share code, notes, and snippets.

@ipcrm
Last active February 6, 2016 02:35
Show Gist options
  • Save ipcrm/1ea6da16c590b0839014 to your computer and use it in GitHub Desktop.
Save ipcrm/1ea6da16c590b0839014 to your computer and use it in GitHub Desktop.
Example Puppet Patch Methodology
class profile::patch::pup_5015 {
if $::puppetversion == '4.3.1' {
if $::kernel == 'AIX' {
file {'pup_5015_patch':
path => '/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/aixobject.rb',
source => 'puppet:///modules/profile/pup_5015.patch',
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment