Ashutosh,When you say "but when I create a recipe name "php_install.rb" or "php_uninstall.rb" underrecipes directory and write the same code it doesn't allow me to install oruninstall php respectively. "What happens when you do it? Also, how are you calling these recipes, are you using recipe[php::php_install] in case of php_install.rb recipe and so on?Thanks
Gourav
On Mon, Feb 18, 2013 at 7:42 PM, Ashutosh Narayan < " target="_blank"> > wrote:Hi folks,I am facing some issues in creating multiple recipes under same cookbook.What am trying to achieve is say - I have a cookbook named "php" underwhich I have recipes/default.rb. When I write ruby snippet to install phphaving file name default.rb things works out to be fine,but when I create a recipe name "php_install.rb" or "php_uninstall.rb" underrecipes directory and write the same code it doesn't allow me to install oruninstall php respectively.I also tried with an option include_recipe "php" in default.rb file.Then too it didn't work out.Where am I going wrong ?Any inputs ?Thank you,
Archive powered by MHonArc 2.6.16.