voxpupuli / puppet-nginx

Puppet Module to manage NGINX on various UNIXes
https://forge.puppet.com/puppet/nginx
MIT License
470 stars 881 forks source link

CentOS 7 Support #418

Closed bastelfreak closed 10 years ago

bastelfreak commented 10 years ago

if the manage_repo variable is true, this puppet module will install the nginx repo for centos 6, even on a centos 7 node. This will result in the following error message:

[root@master ]# yum install nginx
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.netcologne.de
 * epel: mirror.imt-systems.com
 * extras: mirror.skylink-datacenter.de
 * updates: mirror.23media.de
51 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 0:1.6.1-1.el6.ngx will be installed
--> Processing Dependency: libpcre.so.0()(64bit) for package: nginx-1.6.1-1.el6.ngx.x86_64
--> Finished Dependency Resolution
Error: Package: nginx-1.6.1-1.el6.ngx.x86_64 (nginx-release)
           Requires: libpcre.so.0()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@master ]# 

besides this issue, the module seems to work fine under centos 7

3flex commented 10 years ago

There's a PR open already: https://github.com/jfryman/puppet-nginx/pull/412