Commit da7d8548 authored by Chris Roberts's avatar Chris Roberts
Browse files

explicitly set the action on the template resource

parent c153aab5
......@@ -12,6 +12,7 @@ def allow(val)
template.source 'policy-rc.d.erb'
template.path '/usr/sbin/policy-rc.d'
template.mode 0755
template.action :create
# Force this to the front of the line
node.run_context.resource_collection.all_resources.unshift(template)
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