The Opscode wiki documentation says,
Lightweight Resources and Providers are loaded from files in a Cookbook’s
"resources" and “providers” directories. Resource and Provider names
combine the cookbook name and the file name with an underscore. The only
exception to this convention are files named ‘default.rb’. In this case,
the Resource or Provider is named according to the cookbook name only.
So if you added the ‘pear.rb’ resource to your cookbook (myphp) then you
would refer to the resource as ‘myphp_pear’.
On Thu, May 3, 2012 at 11:00 AM, Alexey Khristov firstname.lastname@example.org:
Need help with php cookbook from https://github.com/opscode-cookbooks/phpand pecl/pear installation
In my cookbook I include this php cookbook by “depends “php”” in
metadata.rb and after that can use
pecl extentions like this
php_pear “mongo” do
But I need work with pecl/pear without dependent cookbooks (I know its not
correct desition, but have no choice)
So when try copy resources and providers folders to my cookbook - it
How I can copy this functionality to my cookbook?