Summary: | =dev-ruby/facter-3.6.4 stable request | ||||||
---|---|---|---|---|---|---|---|
Product: | Gentoo Linux | Reporter: | alex <alex> | ||||
Component: | Stabilization | Assignee: | Matthew Thode ( prometheanfire ) <prometheanfire> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | normal | CC: | jstein, ruby, sysadmin | ||||
Priority: | Normal | ||||||
Version: | unspecified | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Package list: | Runtime testing required: | --- | |||||
Attachments: |
|
which specific version of facter was used? I used 3.6.3. But from the build I'm guessing the error occured since 3.1.8 try 3.6.3-r1 - if [[ $(get_libdir) == lib64 ]]; then - dodir /usr/lib64 - mv "${D}/usr/lib/"* "${D}/usr/lib64/" - rmdir "${D}/usr/lib" - fi - doenvd "${FILESDIR}"/00facterdir + + # need a variable file in env.d :( + diropts -m0755 + dodir /etc/env.d + echo -n "FACTERDIR=/usr/$(get_libdir)" > "${D}/etc/env.d/00facterdir" + fperms 0644 /etc/env.d/00facterdir related to bug 611018 You're right with 3.6.3-r1 it works. The facterdir is set correctly: # in my case FACTERDIR=/usr/lib64 Thx. So should probably stablize 3.6.3-r1 and mask all older versions. :-) gonna do the stable req in bug 587848 |
Created attachment 473986 [details, diff] 00facterdir.patch facter sets the FACTERDIR wrongfully to /usr causing puppet to die with: libfacter was not found. Please make sure it was installed to the expected location. It's caused by the files/00facterdir file. It should be set to "FACTERDIR=/usr/lib"