You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that when I provision a client with this module, and include client_keepalives options, on the first run the services will fail to start because the threshold/critical/warning values are double quoted strings and not integers in the JSON. If I do a second puppet apply run then the values are noticed as different and changed to integers in client.json.
I've poked around the providers/types and can see the logic that compares is vs should and enacts changes, but I can't figure out why the initial config is being written without integers. I can re-create this by deleting the contents of client.json and doing another manual puppet run to get double quoted strings then integers.
I've included the sensu dec below. This is with the latest module pulled today b3afef6 1.5.5 I believe, on Ubuntu 14.04 x64 and Puppet 3.8.1.
I've added a client_custom block to the above ::sensu, and numbers in that block are not being double quoted on first run or when no client.json config exists.
I've noticed that when I provision a client with this module, and include client_keepalives options, on the first run the services will fail to start because the threshold/critical/warning values are double quoted strings and not integers in the JSON. If I do a second puppet apply run then the values are noticed as different and changed to integers in client.json.
I've poked around the providers/types and can see the logic that compares is vs should and enacts changes, but I can't figure out why the initial config is being written without integers. I can re-create this by deleting the contents of client.json and doing another manual puppet run to get double quoted strings then integers.
I've included the sensu dec below. This is with the latest module pulled today b3afef6 1.5.5 I believe, on Ubuntu 14.04 x64 and Puppet 3.8.1.
The text was updated successfully, but these errors were encountered: