On Monday, November 10, 2014 12:06:10 PM UTC-6, Schofield wrote:
>
> Isolated the problem.... Facter 2.1.0 introduced the partitions fact. This 
> fact calls Facter::Core::Execution::Posix.which('blkid') to locate the 
> blkid executable.  Turns out there is a directory /etc/blkid which 
> unfortunately for us is on the PATH before /sbin/blkid.  
> Facter::Core::Execution::Posix.which() is incorrectly returning the 
> directory instead of a true executable.
>


Facter appears to be buggy here, and I encourage you to file a ticket about 
it.  (It should ignore subdirectories in the executable search path, as the 
'which' command it is trying to emulate does.)

In the meantime, however, it appears that to trigger the bug under your 
particular circumstances, you must have directory /etc in your path.  
That's pretty non-standard; do you actually need it?  I think you could 
work around the issue by ensuring that it's not in your path.  At worst, 
you should be able to open a shell with a sanitized path, and launch the 
module tool from there.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/cf9a4fc0-c621-4f6b-a802-87d4323f0fa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to