Commit 8f8208fc authored by Jaymz Julian's avatar Jaymz Julian
Browse files

also add or dont add .conf on delete


Signed-off-by: default avatarJaymz Julian <jjulian@limepoint.com>
parent 1b62841b
......@@ -53,6 +53,7 @@ class Chef
end
action :delete do
new_resource.filename = "#{new_resource.filename}.conf" unless new_resource.filename.include?('.conf')
file "/etc/security/limits.d/#{new_resource.filename}" do
action :delete
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