Issue #2432 has been updated by Nigel Kersten.

Same comment as for the facter bug:

I'm thinking that given this is going to be the case going forward, we should 
maybe plan for it now, and strip the number out of "universal-darwin9.0" and 
just check if it is 9.0 or greater?
----------------------------------------
Bug #2432: Puppet binaries install in wrong location on Mac OS 10.6 developer 
seed
http://projects.reductivelabs.com/issues/2432

Author: Josh Anderson
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: installation
Target version: 
Complexity: Trivial
Affected version: 0.24.8
Keywords: 


Puppet binaries get installed to  
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ rather than 
/usr/bin on the Snow Leopard developer seed. This is due to the value of 
RUBY_PLATFORM changing from "darwin-universal9.0" to "darwin-universal10.0".

See the related Facter issue: http://projects.reductivelabs.com/issues/2431

Here's a diff for a trivial fix:

<pre>
diff --git a/install.rb b/install.rb
index 5353bea..bb2b4bc 100755
--- a/install.rb
+++ b/install.rb
@@ -229,7 +229,7 @@ def prepare_installation
   # /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin
   # /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/sbin
   # which is not generally where people expect executables to be installed
-  if RUBY_PLATFORM == "universal-darwin9.0"
+  if RUBY_PLATFORM == "universal-darwin9.0" or RUBY_PLATFORM == 
"universal-darwin10.0"
     Config::CONFIG['bindir'] = "/usr/bin"
     Config::CONFIG['sbindir'] = "/usr/sbin"
   end
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to