- mode 0644
- variables :family => "inet6", :rules => []
- notifies :restart, resources(:service => "shorewall6")
+ mode 0o644
+ variables :rules => []
+ notifies :restart, "service[shorewall6]"
+ end
+
+ service "shorewall6" do
+ action [:enable, :start]
+ supports :restart => true
+ status_command "shorewall6 status"
+ end
+
+ template "/etc/logrotate.d/shorewall6" do
+ source "logrotate.shorewall.erb"
+ owner "root"
+ group "root"
+ mode 0o644
+ variables :name => "shorewall6"