Skip to content

Instantly share code, notes, and snippets.

@sbates
Created December 26, 2012 22:03
Show Gist options
  • Save sbates/4383417 to your computer and use it in GitHub Desktop.
Save sbates/4383417 to your computer and use it in GitHub Desktop.
I notice so many people forking and rewriting cookbooks mostly because of installation diffs and we keep a lot of stuff in Artifactory. I'd like to be able to write Chef::Provider::Package::Artifactory and insert my custom package line instead of re-writing the wheel.
package "foo" do
action :install
end
# but I'm wondering about
package "foo" do
action :install
provider node[:foo][:provider]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment