- variables :family => "inet6", :rules => []
- notifies :restart, resources(:service => "shorewall6")
+ 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 0644
+ variables :name => "shorewall6"