Package Details: facter2 2.4.6-2

Git Clone URL: https://aur.archlinux.org/facter2.git (read-only)
Package Base: facter2
Description: Collect and display system facts
Upstream URL: http://puppetlabs.com/facter
Licenses: Apache
Conflicts: facter
Provides: facter
Submitter: jsteel
Maintainer: jsteel
Last Packager: jsteel
Votes: 50
Popularity: 0.076192
First Submitted: 2015-07-02 13:36
Last Updated: 2016-04-07 14:03

Required by (7)

Sources (1)

Latest Comments

bastelfreak commented on 2016-04-07 14:55

thx!

jsteel commented on 2016-04-07 14:05

The man page seems to get created anyway, but OK; added to clear that error. Thanks.

bastelfreak commented on 2016-04-07 13:53

Hi jsteel,

I build facter in a clean arch nspawn (just with base-devel preinstalled). facter requests rst2man.py which is available in community/python-docutils. Could you add that as a makedepends?

complete build output:
https://ci.virtapi.org/job/Arch_Package_facter2/1/console

supermario commented on 2016-03-30 02:38

@jsteel merge request filed

jsteel commented on 2016-03-29 11:56

Well version 3 turned into cfacter, now facter (written in C not ruby) in [community].

supermario commented on 2016-03-29 11:51

@jsteel you know, I'm not sure actually. They are definitely the same package, but there is a 3.x branch of facter tagged on github, but not yet available on rubygems.org. I think I may refactor this package to build the gem.

jsteel commented on 2016-03-29 10:55

Should I merge this into facter2? Or is this any different?

joschi commented on 2014-04-02 22:07

@zjagannatha Please check your Ruby and Rubygems setup and make sure that something like rbenv or rvm doesn't interfere.

zjagannatha commented on 2014-04-02 18:36

makepkg complains about a missing /usr/bin folder within the package root:

ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory @ dir_s_mkdir - /home/xxx/Downloads/ruby-facter/pkg/ruby-facter/usr/bin
==> ERROR: A failure occurred in package().
Aborting...

I modified the PKGBUILD to mkdir on "$pkgdir/usr/bin" before the gem install and it worked correctly:

package() {
cd "$srcdir"
# _gemdir is defined inside package() because if ruby[gems] is not installed on
# the system, makepkg will exit with an error when sourcing the PKGBUILD.
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
mkdir -p "$pkgdir/usr/bin"

gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" \
-n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem"
}

aboe commented on 2013-09-10 21:24

@Gwmnglifen:

Facter 1.7.3 Available
md5sum facter-1.7.3.gem : 4b41586e074b56aa34f04d2ca48986ce


All comments