Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

create symlinks on redhat family, should fix CHEF-1842

  • Loading branch information...
commit 3c8ce887063ffb4d1745a9170ae69266c5701283 1 parent 0da9d27
Joshua Timberman authored
4  chef/metadata.json
@@ -84,5 +84,5 @@
84 84
     "chef::bootstrap_server": "Set up rubygem installed chef server",
85 85
     "chef::server_proxy": "Configures Apache2 proxy for API and WebUI"
86 86
   },
87  
-  "version": "0.22.1"
88  
-}
  87
+  "version": "0.99.0"
  88
+}
2  chef/metadata.rb
@@ -3,7 +3,7 @@
3 3
 license           "Apache 2.0"
4 4
 description       "Installs and configures Chef for chef-client and chef-server"
5 5
 long_description  IO.read(File.join(File.dirname(__FILE__), 'README.md'))
6  
-version           "0.22.1"
  6
+version           "0.99.0"
7 7
 recipe            "chef", "Default recipe is empty, use one of the other recipes."
8 8
 recipe            "chef::client", "Sets up a client to talk to a chef-server"
9 9
 recipe            "chef::client_service", "Sets up a client daemon to run periodically"
11  chef/recipes/bootstrap_server.rb
@@ -89,6 +89,17 @@
89 89
     group root_group
90 90
     mode 0600
91 91
   end
  92
+
  93
+  # Set up symlinks so the redhat family init scripts work
  94
+  if platform?("redhat","centos","fedora")
  95
+    link "/etc/chef/webui.rb" do
  96
+      to "/etc/chef/server.rb"
  97
+    end
  98
+
  99
+    link "/etc/chef/solr-indexer.rb" do
  100
+      to "/etc/chef/solr.rb"
  101
+    end
  102
+  end
92 103
 end
93 104
 
94 105
 directory node[:chef][:path] do

0 notes on commit 3c8ce88

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