-
Adam Lewenberg authored
This is the (old) master branch along with the fixes to the cron file permissions that Russ made.
Adam Lewenberg authoredThis is the (old) master branch along with the fixes to the cron file permissions that Russ made.
syslog.conf.erb 859 B
# syslog config file from puppet template
<%# This is for backwards compatibility with RHEL syslog servers. -%>
<%# The syslog forwarding fix for non-RHEL breaks RHEL 4 and 5 forwarding. -%>
<%# It's "enterprise." -%>
<% if ( @fixrhel5syslog && @fixrhel5syslog == 'true' && @syslogserver &&
( operatingsystem != 'RedHat' || ( operatingsystem == 'RedHat' &&
lsbmajdistrelease.to_i() >= 6 ))) then -%>
$template forward,"%rawmsg%"
<% end -%>
*.emerg *
<% if ( @fixrhel5syslog && @fixrhel5syslog == 'true' && @syslogserver &&
( operatingsystem != 'RedHat' || ( operatingsystem == 'RedHat' &&
lsbmajdistrelease.to_i() >= 6 ))) then -%>
*.debug @<%= @syslogserver %>;forward
<% elsif ( @syslogserver ) then -%>
*.debug @<%= @syslogserver %>
<% end -%>
*.debug /var/log/messages
*.err /dev/console