Skip to content
This repository
Browse code

FC024: Add platform equivalents.

  • Loading branch information...
commit c8bc55d81e36c490df98285a4a0c554030ce5db8 1 parent 6a2d275
Andrew Crump authored
2  attributes/default.rb
@@ -24,7 +24,7 @@
24 24 default["chef_server"]["run_path"] = "/var/run/chef"
25 25 default["chef_server"]["cache_path"] = "/var/cache/chef"
26 26 default["chef_server"]["backup_path"] = "/var/lib/chef/backup"
27   -when "debian","ubuntu","redhat","centos","fedora"
  27 +when "debian","ubuntu","redhat","centos","amazon","scientific","fedora"
28 28 default["chef_server"]["init_style"] = "init"
29 29 default["chef_server"]["path"] = "/var/lib/chef"
30 30 default["chef_server"]["run_path"] = "/var/run/chef"
2  recipes/rabbitmq.rb
@@ -44,7 +44,7 @@ def debian_before_squeeze?
44 44 end
45 45
46 46 service "rabbitmq-server" do
47   - if platform?("centos","redhat","fedora")
  47 + if platform?("centos","redhat","amazon","scientific","fedora")
48 48 start_command "/sbin/service rabbitmq-server start &> /dev/null"
49 49 stop_command "/sbin/service rabbitmq-server stop &> /dev/null"
50 50 end
2  recipes/rubygems-install.rb
@@ -57,7 +57,7 @@
57 57 include_recipe "chef-server::rabbitmq"
58 58 include_recipe "gecode"
59 59
60   -when "centos","redhat","fedora"
  60 +when "amazon","centos","redhat","scientific","fedora"
61 61
62 62 include_recipe "couchdb"
63 63 include_recipe "java"

0 comments on commit c8bc55d

Please sign in to comment.
Something went wrong with that request. Please try again.