Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

simplify fix

  • Loading branch information...
commit 558cfb9ae1663015d9ffaf213212784b1d3ea87e 1 parent c3aa7c4
Michael Grosser authored February 11, 2013

Showing 1 changed file with 6 additions and 5 deletions. Show diff stats Hide diff stats

  1. 11  cookbooks/fixup/recipes/default.rb
11  cookbooks/fixup/recipes/default.rb
... ...
@@ -1,13 +1,13 @@
1 1
 # There seems to be a problem with the installation, which seems related to the gem.
2  
-# The chef deamons files in `/etc/init.d` have incorrect paths in their `DAEMON` parameter, incorrectly referring to `/usr/bin` instead of `/usr/sbin`. In the meantime this will solve the issue:
  2
+# The chef daemons files in `/etc/init.d` have incorrect paths in their `DAEMON` parameter, incorrectly referring to `/usr/bin` instead of `/usr/sbin`. In the meantime this will solve the issue:
3 3
 execute "fix bin folders" do
4 4
   command <<-BASH.gsub("    ", "")
5 5
     # fix symlinks
6 6
     cd /usr/bin
7  
-    ln -s /usr/sbin/chef-server-webui chef-server-webui
8  
-    ln -s /usr/sbin/chef-server chef-server
9  
-    ln -s /usr/sbin/chef-server chef-solr
10  
-    ln -s /usr/sbin/chef-expander chef-expander
  7
+    ln -s /usr/sbin/chef-server-webui
  8
+    ln -s /usr/sbin/chef-server
  9
+    ln -s /usr/sbin/chef-server
  10
+    ln -s /usr/sbin/chef-expander
11 11
 
12 12
     # restart
13 13
     /etc/init.d/chef-server start
@@ -16,4 +16,5 @@
16 16
     /etc/init.d/chef-expander start
17 17
   BASH
18 18
   action :run
  19
+  not_if "test -f /usr/bin/chef-expander"
19 20
 end

0 notes on commit 558cfb9

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