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
In order to configure Sensu Enterprise integrations, arbitrary configuration for handlers (wherein a handler looks for a particular named configuration hash) and in order to configure new features that simply require additional configuration (such as defining contacts, etc), it would be great to support a method within the module which could take an arbitrary hash and render it into a JSON file, for example:
sensu::config{'email':
host => "127.0.0.1",
port => 25
}
will render /etc/sensu.conf.d/email.json
{
"email": {
"host": "127.0.0.1",
"port": 25
}
}
The text was updated successfully, but these errors were encountered:
In order to configure Sensu Enterprise integrations, arbitrary configuration for handlers (wherein a handler looks for a particular named configuration hash) and in order to configure new features that simply require additional configuration (such as defining contacts, etc), it would be great to support a method within the module which could take an arbitrary hash and render it into a JSON file, for example:
will render
/etc/sensu.conf.d/email.jsonThe text was updated successfully, but these errors were encountered: