chef-datadog
chef-datadog copied to clipboard
[doc] Correct example in windows_service
Can you fix the doc in : https://github.com/DataDog/chef-datadog/blob/main/recipes/windows_service.rb
Based on your current cookbook, the documentation should make reference to an array of hash, not a hash of array of hash... AKA something like
# node['datadog']['windows_service']['instances'] = {
# "instances": [
# {
# "username": "RemoteHostname\thomas",
# "services": ["RemoteServiceName1", "RemoteServiceName2"],
# "host": "RemoteHostName",
# "password": "secretpw"
# }
# ]
# }
Should be:
# node['datadog']['windows_service']['instances'] = [
# {
# "username": "RemoteHostname\thomas",
# "services": ["RemoteServiceName1", "RemoteServiceName2"],
# "host": "RemoteHostName",
# "password": "secretpw"
# }
# ]
Regards