diff options
author | Hunter Haugen <h.haugen@gmail.com> | 2013-03-21 12:05:15 -0700 |
---|---|---|
committer | Hunter Haugen <h.haugen@gmail.com> | 2013-03-21 12:05:15 -0700 |
commit | e1092f423f285ed9ec5d94bf8d6846e4aab20dd7 (patch) | |
tree | c8dbd73c6c97bbdea163f1f05df1f7751b0851c5 /files | |
parent | 40200058af7365572a9fc501b678b164fb7591c5 (diff) |
Add `custom_params` to `rsyslog::client` for custom templates
When doing lookups in templates, variables that are not explicitly
scoped with `scope.lookupvar()` must be in the scope of the `template()`
function call. `rsyslog::client` allows custom templates to be called,
but doesn't allow custom parameters to be passed for the alterate
template to use.
This pull request adds a `custom_params` parameter so a hash of extra
parameters may be passed for the custom template to access without
explicit scoping knowledge.
Diffstat (limited to 'files')
0 files changed, 0 insertions, 0 deletions