Facter version 1.5.7 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 1.5.7

      View the most recent changes for the facter port at: facter.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for facter.
      The raw portfile for facter 1.5.7 is located here:
      http://facter.darwinports.com/dports/sysutils/facter/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/facter


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The facter Portfile 58961 2009-10-07 20:50:08Z ryandesign macports.org $

      PortSystem 1.0

      Name: facter
      Version: 1.5.7
      Category: sysutils
      Maintainers: explanatorygap.net:nigel openmaintainer

      Description: A cross-platform library for describing OS attributes.

      Long Description: A cross-platform library for describing OS attributes. Supports multiple resolution mechanisms, any of which can be restricted to working only on certain operating systems or environments. Facter is especially useful for retrieving things like operating system names, IP addresses, MAC addresses, and SSH keys.

      Homepage: http://reductivelabs.com/products/facter/
      Platform: darwin

      Master Sites: http://reductivelabs.com/downloads/facter/

      Checksums: md5 21db7b613fe14a54e72ef062f3d5e190 sha1 d904d1d02341d12df5ae8183f5552bd7fab18be6 rmd160 98855a5129868a3d695c45daf80f8badaa90c566

      depends_lib port:ruby

      use_configure no
      build {}
      test.run no
      destroot.cmd ${prefix}/bin/ruby ${worksrcpath}/install.rb --destdir=${destroot}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/facter
      % sudo port install facter
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching facter
      ---> Verifying checksum for facter
      ---> Extracting facter
      ---> Configuring facter
      ---> Building facter with target all
      ---> Staging facter into destroot
      ---> Installing facter
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using facter with these commands:
      %  man facter
      % apropos facter
      % which facter
      % locate facter

     Where to find more information:

    Darwin Ports



    Lightbox this page.