Skip to content

Instantly share code, notes, and snippets.

@dje
Created April 8, 2011 22:02
Show Gist options
  • Select an option

  • Save dje/910823 to your computer and use it in GitHub Desktop.

Select an option

Save dje/910823 to your computer and use it in GitHub Desktop.
execute "install somepackage" do
command "yum -y install somepackage"
not_if "yum list installed somepackage | grep someversion"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment