diff options
author | Aaron Hicks <hicksa@landcareresearch.co.nz> | 2014-03-11 10:41:26 +1300 |
---|---|---|
committer | Aaron Hicks <hicksa@landcareresearch.co.nz> | 2014-03-11 10:41:26 +1300 |
commit | 66a9354a3de1e1cf224ee098ed8a7b59f79079ae (patch) | |
tree | 39a9cdfdde5cd0acb13a455e44827f705770ef42 /tests | |
parent | 4d51a536a444ae629743a2c25673b0db1d1d1ef9 (diff) |
Define log templates with $template
Remove and update 'file managed by puppet' comment
Diffstat (limited to 'tests')
-rw-r--r-- | tests/log_templates.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/log_templates.pp b/tests/log_templates.pp new file mode 100644 index 0000000..79f1e8f --- /dev/null +++ b/tests/log_templates.pp @@ -0,0 +1,9 @@ +class{'rsyslog::client': + log_templates => [ + { + name => 'RFC3164fmt', + template => '<%PRI%>%TIMESTAMP% %HOSTNAME% %syslogtag%%msg%', + }, + ], + actionfiletemplate => 'RFC3164fmt', +}
\ No newline at end of file |