diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/rsyslog.conf.erb | 8 | ||||
-rw-r--r-- | templates/server.conf.erb | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/rsyslog.conf.erb b/templates/rsyslog.conf.erb index d522ae0..12f85c3 100644 --- a/templates/rsyslog.conf.erb +++ b/templates/rsyslog.conf.erb @@ -8,14 +8,6 @@ $ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support (previously done by rklogd) #$ModLoad immark # provides --MARK-- message capability -<% if scope.lookupvar('rsyslog::params::high_precision_timestamps') == false -%> -# -# Use traditional timestamp format. -# To enable high precision timestamps, comment out the following line. -# -$ActionFileDefaultTemplate RSYSLOG_ForwardFormat -<% end -%> - ########################### #### GLOBAL DIRECTIVES #### ########################### diff --git a/templates/server.conf.erb b/templates/server.conf.erb index 402c0e6..41fdcef 100644 --- a/templates/server.conf.erb +++ b/templates/server.conf.erb @@ -1,5 +1,13 @@ # File is managed by puppet +<% if scope.lookupvar('rsyslog::server::high_precision_timestamps') == false -%> +# +# Use traditional timestamp format. +# To enable high precision timestamps, comment out the following line. +# +$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat +<% end -%> + <% if scope.lookupvar('rsyslog::server::enable_udp') -%> $ModLoad imudp $UDPServerRun 514 |