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

Getting mirror list error while using this cookbook on Amazon linux #88

Open Aamir010 opened 8 years ago

Aamir010 commented 8 years ago

STDOUT: Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise/latest/remi/mirror error was 14: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" STDERR: http://rpms.famillecollet.com/enterprise/latest/remi/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror.

Aamir010 commented 8 years ago

This cookbook has been work on local VM with CentOS 7. Don't know what's wrong with Amazon Linux

tvb commented 7 years ago

@Aamir010 I just ran into this, almost one year later 😱 U can use the following to overwrite the default values of the repository (e.g. for RHEL6):

  "php-fpm": {
    "yum_url": "http://rpms.remirepo.net/enterprise/6/php56/$basearch/",
    "yum_mirrorlist": "http://rpms.remirepo.net/enterprise/6/php56/mirror"
  }