Created
March 23, 2011 17:19
-
-
Save jtimberman/883522 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# As the last resource in the dnsserver::remove_slave recipe, assuming that the remove_slave | |
# "undoes" a dnsserver slave installation of some kind, without knowing what that might have been. | |
ruby_block "remove_this_recipe" do | |
block do | |
node.run_list.remove("recipe[dnsserver::remove_slave]") if node.run_list.include?("recipe[dnsserver::remove_slave]") | |
end | |
action :nothing | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment