Permalink
Browse files

COOK-490: detect amazon as redhat for chef-client

  • Loading branch information...
btm committed Apr 2, 2011
1 parent 76e70e1 commit 1568f5ce32bc808bc3f4544708331c4a16f87826
Showing with 2 additions and 2 deletions.
  1. +2 −2 chef-client/recipes/service.rb
@@ -37,12 +37,12 @@
dist_dir = value_for_platform(
["ubuntu", "debian"] => { "default" => "debian" },
- ["redhat", "centos", "fedora"] => { "default" => "redhat"}
+ ["amazon", "redhat", "centos", "fedora"] => { "default" => "redhat"}
)
conf_dir = value_for_platform(
["ubuntu", "debian"] => { "default" => "default" },
- ["redhat", "centos", "fedora"] => { "default" => "sysconfig"}
+ ["amazon", "redhat", "centos", "fedora"] => { "default" => "sysconfig"}
)
chef_version = node.chef_packages.chef["version"]

0 comments on commit 1568f5c

Please sign in to comment.