On Windows systems, we would like to delay the start of the datadog agent service (in Windows terms, we want to set the service to "Start delayed"). (If you are wondering why: we have some network NICs that take extra long to come up due to LACP bonding.)
We thought this could be done by setting this in hiera:
datadog_agent::service_enable: delayed
However we get an error:
Class[Datadog_agent::Service]: parameter 'service_enable' expects a Boolean value,
got String (file: [redacted]/datadog_agent/manifests/init.pp, line: 494, column: 3)
I see in manifests/service.pp $service_enable is required to be a Boolean. As you can see,
https://puppet.com/docs/puppet/7/types/service.html#service-attribute-enable "delayed" is a valid value for this parameter.
On Windows systems, we would like to delay the start of the datadog agent service (in Windows terms, we want to set the service to "Start delayed"). (If you are wondering why: we have some network NICs that take extra long to come up due to LACP bonding.)
We thought this could be done by setting this in hiera:
However we get an error:
I see in manifests/service.pp $service_enable is required to be a Boolean. As you can see,
https://puppet.com/docs/puppet/7/types/service.html#service-attribute-enable "delayed" is a valid value for this parameter.