yevgenko / cookbook-php-fpm

Installs/Configures php-fpm
http://community.opscode.com/cookbooks/php-fpm
Apache License 2.0
68 stars 117 forks source link

Ubuntu 10 support fix #17

Closed zuazo closed 11 years ago

zuazo commented 11 years ago

Currently, this cookbook gives me the following error in Ubuntu 10.04:

         * package[php5-fpm] action upgrade[2013-09-05T16:30:25+00:00] INFO: Processing package[php5-fpm] action upgrade (php-fpm::default line 96)

           * No candidate version available for php5-fpm
       ================================================================================
       Error executing action `upgrade` on resource 'package[php5-fpm]'
       ================================================================================

       Chef::Exceptions::Package
       -------------------------
       No candidate version available for php5-fpm

       Resource Declaration:
       ---------------------
       # In /tmp/kitchen-chef-solo/cookbooks/php-fpm/recipes/default.rb

        96: package php_fpm_service_name do
        97:   action :upgrade
        98: end
        99: 

       Compiled Resource:
       ------------------
       # Declared in /tmp/kitchen-chef-solo/cookbooks/php-fpm/recipes/default.rb:96:in `from_file'

       package("php5-fpm") do
         action [:upgrade]
         retries 0
         retry_delay 2
         package_name "php5-fpm"
         cookbook_name :"php-fpm"
         recipe_name "default"
       end

Fixed changing the used apt repository and the config file path.