Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created January 8, 2010 03:37
Show Gist options
  • Save jtimberman/271828 to your computer and use it in GitHub Desktop.
Save jtimberman/271828 to your computer and use it in GitHub Desktop.
file "/etc/chef/validation.pem" do
action :delete
backup false
only_if { File.size?("/etc/chef/client.pem") > 0 }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment