summaryrefslogtreecommitdiff
path: root/templates/server.conf.erb
diff options
context:
space:
mode:
authorHunter Haugen <h.haugen@gmail.com>2013-03-21 12:05:15 -0700
committerHunter Haugen <h.haugen@gmail.com>2013-03-21 12:05:15 -0700
commite1092f423f285ed9ec5d94bf8d6846e4aab20dd7 (patch)
treec8dbd73c6c97bbdea163f1f05df1f7751b0851c5 /templates/server.conf.erb
parent40200058af7365572a9fc501b678b164fb7591c5 (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 'templates/server.conf.erb')
0 files changed, 0 insertions, 0 deletions