Skip to content

Instantly share code, notes, and snippets.

@imeyer
Forked from jtimberman/gist:271828
Created January 8, 2010 05:06
Show Gist options
  • Save imeyer/271866 to your computer and use it in GitHub Desktop.
Save imeyer/271866 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