- Add
mod 'albatrossflavour-os_patching', '0.13.0'
to your Puppetfile and deploy your control repo - Classify the linux nodes you wish to be able to patch with the
os_patching
moduleinclude os_patching
within a patching profile- Use the PE console
- Run puppet on these nodes and expect the following changes:
- The file
/usr/local/bin/os_patching_fact_generation.sh
will be installed - Cron jobs will be setup to run the script every hour (using fqdn_rand) and at reboot
- The directory
/var/cache/os_patching
will be created /usr/local/bin/os_patching_fact_generation.sh
will run and will populate files into/var/cache/os_patching
- A new fact (
os_patching
) will be available
- The file
- View the contents of the
os_patching
fact on the nodes you classified: - Execute a patch run on these nodes: