Skip to content

Instantly share code, notes, and snippets.

@obazoud
Last active August 29, 2015 14:04
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obazoud/7c31530489b291913753 to your computer and use it in GitHub Desktop.
Save obazoud/7c31530489b291913753 to your computer and use it in GitHub Desktop.
Chef: How to remove a recipe dynamically ?
ruby_block 'remove_dynamically_oneshot' do
block { node.run_list.remove('recipe[mycookbook::oneshot]') }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment