Skip to content

Commit

Permalink
Merge pull request #553 from sous-chefs/update_os_readme_metadata
Browse files Browse the repository at this point in the history
Specify minimum supported OS versions
  • Loading branch information
tas50 authored Sep 19, 2017
2 parents 0f3827c + ad4c7f6 commit 8a909f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ The functionality that was previously in the nagios::client recipe has been move

- Debian 8+
- Ubuntu 14.04+
- Red Hat Enterprise Linux (CentOS/Amazon/Scientific/Oracle) 6+
- Red Hat Enterprise Linux (CentOS/Amazon/Scientific/Oracle) 7+

**Notes**: This cookbook has been tested on the listed platforms. It may work on other platforms with or without modification.

### Cookbooks

- apache2 4.0 or greater
- build-essential
- nginx
- nginx 7.0 or greater
- php
- yum-epel

Expand Down
19 changes: 8 additions & 11 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@
depends 'php-fpm', '>= 0.7.9'
depends 'zap', '>= 0.6.0'

%w( build-essential php yum-epel nrpe ).each do |cb|
%w(build-essential php yum-epel nrpe).each do |cb|
depends cb
end

%w(
amazon
centos
debian
oracle
redhat
scientific
ubuntu
).each do |os|
supports os
%w(centos oracle redhat).each do |os|
supports os, '>= 7.0'
end

supports 'amazon'
supports 'debian', '>= 8.0'
supports 'scientific'
supports 'ubuntu', '>= 14.04'

0 comments on commit 8a909f2

Please sign in to comment.