Metadata-Version: 1.0
Name: isotoma.recipe.facts
Version: 0.0.2
Summary: A recipe to provide facts about the context a buildout is running in
Home-page: UNKNOWN
Author: John Carr
Author-email: john.carr@isotoma.com
License: Apache Software License
Description: Introduction
        ============
        
        This package provides information about the host you are running buildout on.
        
        
        Exposed Parameters
        ==================
        
        hostname
        The hostname of the machine buildout is running on, as returned by ``socket.gethostname()``
        fqdn
        The fully qualified domain of the machine buildout is running on, as return by ``socket.getfqdn()``.
        If no fqdn is available, this will be the same as hostname.
        interface.X.address
        The IP address of the network interface ``X``.
        
        
        Using facts
        ===========
        
        This example uses the missingbits echo recipe to print information about the current machine::
        
        [buildout]
        parts = echo
        
        [facts]
        recipe = isotoma.recipe.facts
        
        [echo]
        recipe = missingbits:echo
        echo =
        The hostname is ${facts:hostname}
        The fdqn is ${facts:fdqn}
        The main IP address is ${facts:interface.eth0.address}
        
        
        Changelog
        =========
        
        0.0.2 (2011-08-22)
        ------------------
        
        - Add Git branch detection
        
        
        0.0.1 (2011-08-11)
        ------------------
        
        - Detect information about vcs
        
        
        0.0.0 (2011-08-09)
        ------------------
        
        - Initial version
        - Ability to get fqdn, hostname and ip addresses (by eth name)
        
        
Keywords: buildout facts
Platform: UNKNOWN
Classifier: Framework :: Buildout
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: POSIX
Classifier: License :: OSI Approved :: Apache Software License
