- if status_package
- package status_package
-
- template "/etc/default/#{status_package}d" do
- source "raid.default.erb"
- owner "root"
- group "root"
- mode 0644
- end
-
- service "#{status_package}d" do
- action [ :start, :enable ]
- supports :status => false, :restart => true, :reload => false
- subscribes :restart, "template[/etc/default/#{status_package}d]"
- end
+ service "#{status_package}d" do
+ action [ :start, :enable ]
+ supports :status => false, :restart => true, :reload => false
+ subscribes :restart, "template[/etc/default/#{status_package}d]"