[Pkg-puppet-devel] [facter] 129/352: (21868) Move facter libary target to /Library/Ruby/Site

Stig Sandbeck Mathisen ssm at debian.org
Sun Apr 6 22:21:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit d32cbcb38b61e5c863b80c300a2df7108dad637f
Author: Moses Mendoza <moses at puppetlabs.com>
Date:   Tue Aug 27 18:30:31 2013 -0700

    (21868) Move facter libary target to /Library/Ruby/Site
    
    We currently drop the facter library files in /usr/lib/ruby/site_ruby/1.8
    OSX, which is a symlink to /Library/Ruby/Site/1.8. As of OSX 10.9 Maverick
    this will no longer work because it will be ruby 2.0.0. There are hard way
    and easy ways to solve this problem. A hard way would be to somehow
    introspect the target host at install time, and then dynamically copy the
    payload into the correct ruby version specific path. Another hard way woul be
    to create different OSX packages for different versions of OSX. Or, we could
    pick the easy way, which is to just install into /Library/Ruby/Site (the
    equivalent of /usr/lib/ruby/site_ruby). Since facter will work on all rubies
    shipped with supported versions of OSX, this will "just work".
    
    Signed-off-by: Moses Mendoza <moses at puppetlabs.com>
---
 ext/osx/file_mapping.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/osx/file_mapping.yaml b/ext/osx/file_mapping.yaml
index 8ee36ad..755d964 100644
--- a/ext/osx/file_mapping.yaml
+++ b/ext/osx/file_mapping.yaml
@@ -1,6 +1,6 @@
 directories:
   lib:
-    path: 'usr/lib/ruby/site_ruby/1.8'
+    path: 'Library/Ruby/Site'
     owner: 'root'
     group: 'wheel'
     perms: '0644'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list