Skip to content

Commit

Permalink
Fix runs on Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
tas50 committed Oct 15, 2014
1 parent 53cbc24 commit dd48865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/_package_install.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Author:: Seth Chisamore <[email protected]>
# Author:: Tim Smith <tsmith@limelight.com>
# Author:: Tim Smith <tsmith84@gmail.com>
# Cookbook Name:: nrpe
# Recipe:: package_install
#
Expand All @@ -24,7 +24,7 @@
# nrpe packages are available in EPEL on rhel / fedora platforms
# fedora 17 and later don't require epel
if platform_family?('rhel', 'fedora')
unless platform?('fedora') && node['platform_version'] < 17
unless platform?('fedora') && node['platform_version'].to_i > 16
include_recipe 'yum-epel'
end
end
Expand Down

0 comments on commit dd48865

Please sign in to comment.