Skip to content

Instantly share code, notes, and snippets.

@lusis
Created February 22, 2012 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lusis/280c0fbc19364a1781e0 to your computer and use it in GitHub Desktop.
Save lusis/280c0fbc19364a1781e0 to your computer and use it in GitHub Desktop.
uby_block "remove_bootstrap_recipe" do
block do
Chef::Log.info("Removing portal boostrap from runlist")
node.run_list.remove("recipe[portal::bootstrap]") if node.run_list.include?("recipe[portal::bootstrap]")
end
action :create
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment