Puppet added a notdefaultfor DSL method to constrain providers, similar to defaultfor. This allows providers to default to a given osfamily, except on earlier os versions. However, strings doesn't support notdefaultfor
Describe the Solution You Would Like
Strings should emit documentation when a provider uses notdefaultfor. For example, the systemd service provider defines:
Use Case
Puppet added a
notdefaultfor
DSL method to constrain providers, similar todefaultfor
. This allows providers to default to a given osfamily, except on earlier os versions. However, strings doesn't supportnotdefaultfor
Describe the Solution You Would Like
Strings should emit documentation when a provider uses
notdefaultfor
. For example, thesystemd
service provider defines:I would expect to see documentation similar to
defaultfor
in the docs for each provider:See also https://tickets.puppetlabs.com/browse/PUP-8552