puppetlabs / puppetlabs-patching_as_code

Automated Patching through desired state code
Apache License 2.0
10 stars 15 forks source link

Compatibility with `stdlib::stages` #77

Open jcpunk opened 2 years ago

jcpunk commented 2 years ago

Use Case

The puppetlabs stdlib module provides a set of default stages. Some folks may decide to utilize them.

Describe the Solution You Would Like

It would be nice if this module could schedule the reboots after the last of those stages if they are defined.

Describe Alternatives You've Considered

Building up complex inter-dependencies rather than relying on stage based segmentation.

Additional Context

https://github.com/puppetlabs/puppetlabs-patching_as_code/blob/main/manifests/init.pp#L134 https://github.com/puppetlabs/puppetlabs-stdlib/blob/main/manifests/stages.pp#L24