Commit eae1d469 authored by Jeff Blaine's avatar Jeff Blaine Committed by jtimberman
Browse files

Introduce defaults_file attribute for platform abstraction

Default value is "/etc/default/rsyslog" but cased for redhat
to be "/etc/sysconfig/rsyslog"
parent 9d748273
......@@ -31,6 +31,7 @@ default["rsyslog"]["max_message_size"] = "2k"
default["rsyslog"]["user"] = "root"
default["rsyslog"]["group"] = "adm"
default["rsyslog"]["priv_seperation"] = false
default["rsyslog"]["defaults_file"] = "/etc/default/rsyslog"
case node["platform"]
when "ubuntu"
......@@ -40,4 +41,6 @@ when "ubuntu"
default["rsyslog"]["group"] = "adm"
default["rsyslog"]["priv_seperation"] = true
end
when "redhat"
default["rsyslog"]["defaults_file"] = "/etc/sysconfig/rsyslog"
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment