rule = Hash[
:action => params[:action].to_s.upcase,
:source => params[:source],
rule = Hash[
:action => params[:action].to_s.upcase,
:source => params[:source],
:proto => params[:proto],
:dest_ports => params[:dest_ports] || "-",
:source_ports => params[:source_ports] || "-",
:proto => params[:proto],
:dest_ports => params[:dest_ports] || "-",
:source_ports => params[:source_ports] || "-",
- inet.variables[:rules] << rule unless inet.nil?
- inet6.variables[:rules] << rule unless inet6.nil?
+ node.default[:networking][:firewall][:inet] << rule
+ node.default[:networking][:firewall][:inet6] << rule