Permalink
Commits on Jun 12, 2012
  1. Merge pull request #70 from kelseyhightower/feature/1.0rc/add_windows…

    joshcooper committed Jun 12, 2012
    …_support
    
    (#14867) Add windows support
  2. (maint) Fix failing Hiera::Util specs

    Kelsey Hightower committed Jun 12, 2012
    This patch makes it easier to test the `Hiera::Util` module.
  3. Use File::ALT_SEPARATOR to test platform

    Kelsey Hightower committed Jun 12, 2012
  4. Add specs for Hiera::Util

    Kelsey Hightower committed Jun 12, 2012
  5. (#14867) Add windows support

    Kelsey Hightower committed Jun 12, 2012
    Without this patch Hiera does not work on Windows and fails with the
    following error:
    
        Failed to start Hiera: RuntimeError: Config file /etc/hiera.yaml not
        found
    
    Following the standard set by the Puppet installer, Hiera now uses the
    following configuration and var directories on Windows:
    
        C:\ProgramData\PuppetLabs\hiera\etc
        C:\ProgramData\PuppetLabs\hiera\var
    
    This patch introduces a new `Hiera::Util` module which utilizes the
    `win32-dir` gem for locating the correct base directories on Windows.
Commits on Jun 7, 2012
  1. Merge pull request #68 from pcarlisle/ticket/master/12122-multiple-ba…

    Kelsey Hightower committed Jun 7, 2012
    …ckends
    
    Ticket/master/12122 multiple backends
  2. (#12122) Merge arrays and hashes across backends

    pcarlisle committed Jun 6, 2012
    This implements merging for arrays and hashes across the returned values for
    all backends, using the same logic as merging within a backend.
  3. (#12122) Correctly fall through backends during loop

    pcarlisle committed Jun 6, 2012
    When calling lookup for hash or array types Hiera would incorrectly return an
    empty result from a backend that did not find a value instead of checking the
    next backend. This happened because the empty hash and empty array were used
    internally to represent a failed lookup. This changes it to use nil
    everywhere. A distinct sentinel value would be ideal, but since Hiera
    currently has no way to communicate to the outside world the difference
    between lookup up nil and a failed lookup, it is sufficient to use nil internally.
Commits on Jun 6, 2012
  1. Merge pull request #66 from haus/add_default_hiera_config

    Kelsey Hightower committed Jun 6, 2012
    Add default config to hiera
Commits on Jun 4, 2012
  1. Add default config to hiera

    haus committed Jun 4, 2012
    When run on its own, hiera depends on having a config file present. It expects
    /etc/hiera.yaml to exist. This commit adds a default config file to hiera, and
    adds the config file to the packages for hiera.
Commits on May 22, 2012
  1. Updating changelog for 1.0.0rc3

    haus committed May 22, 2012
  2. Merge pull request #64 from haus/hiera_packaging_overhaul

    Kelsey Hightower committed May 22, 2012
    Overhaul hiera packaging
  3. Add package task for deb, srpm

    haus committed May 21, 2012
    This adds a package rake task for hiera, which was borrowed and improved from
    the puppet-dashboard package task. It builds debian packages using pdebuild and
    cowbuilder, and uses rpmbuild with el5 friendly macros to build rpms.
Commits on May 21, 2012
  1. Add debian packaging for hiera

    haus committed May 21, 2012
    This adds debian packaging to the ext directory. It includes a cl.erb file
    which is used to dynamically generate changelogs to aid in building debs via
    rake task.
  2. Move conf to ext, replace spec with erb

    haus committed May 21, 2012
    This consolidates packaging to the ext directory, which makes more sense than
    the conf directory, as the conf does not contain configuration information, but
    rather packaging information. It also moves the hiera.spec file to an erb
    template, to aid in rake rpm building.
  3. Merge pull request #63 from haus/add_apple_packaging

    Kelsey Hightower committed May 21, 2012
    Add apple packaging
  4. Merge pull request #62 from kelseyhightower/1.0rc

    zaphod42 committed May 21, 2012
    (maint) Hiera should raise an error when config is missing
Commits on May 18, 2012
  1. (maint) Hiera should raise an error when config is missing

    Kelsey Hightower committed May 18, 2012
  2. Update mac packaging to dynamically generate preflight

    haus committed May 18, 2012
    To avoid collisions between preflight files and to avoid having to maintain
    discrete lists of files, this commit moves the preflight file to an erb
    template that is generated on the fly during package creation. It only adds
    files to the removal list, as we have no guarantees on who owns what
    directories.
  3. Merge pull request #61 from haus/add_apple_packaging

    Kelsey Hightower committed May 18, 2012
    Add apple packaging
  4. Add mac packaging to hiera

    haus committed May 18, 2012
    This commit adds all of the bits necessary to build hiera mac packages. The
    apple.rake task adds a package:apple task to the rake. It will create a package
    with the lib and bin dirs, and docs from README, CHANGELOG, and COPYING.
  5. Merge pull request #60 from kelseyhightower/1.0rc

    haus committed May 18, 2012
    Remove Puppet parser functions
  6. Remove Puppet parser functions

    Kelsey Hightower committed May 18, 2012
    This commit removes all the Puppet parser functions. This is being done
    to allow hiera to work better in stand-alone setups, and remove the
    dependency on Puppet for testing.
    
    The Parser functions will now live in hiera-puppet.
  7. Merge pull request #59 from kelseyhightower/maint/1.0rc/maint_accepta…

    djm68 committed May 18, 2012
    …nce_tests_for_hiera_array_and_hash_lookups
    
    Maint/1.0rc/maint acceptance tests for hiera array and hash lookups
  8. (maint) Additional tests for Hiera array and hash lookups

    Kelsey Hightower committed May 18, 2012
Commits on May 17, 2012
  1. Merge pull request #58 from kelseyhightower/maint/1.0rc/add_hiera_acc…

    djm68 committed May 17, 2012
    …eptance_tests
    
    (maint) Add Hiera acceptance tests
  2. (maint) Add Hiera acceptance tests

    Kelsey Hightower committed May 17, 2012
    This patch adds new Hiera acceptance tests for stand-alone Hiera.
Commits on May 15, 2012
  1. Merge pull request #55 from kelseyhightower/1.0rc

    slippycheeze committed May 15, 2012
    (#14514) Use default config when hiera.yaml is missing
  2. (#14514) Use default config when hiera.yaml is missing

    Kelsey Hightower committed May 15, 2012
    Hiera no longer raises an exception when the hiera configuration file
    is missing; instead log a warning and use the following default config:
    
        {
          :backends  => ["yaml"],
          :hierarchy => "common",
          :logger    => "console"
        }
    
    This patch includes updated tests.
  3. Merge pull request #54 from haus/fix_functions_spec_failure

    Kelsey Hightower committed May 15, 2012
    Remove empty Puppet class definition
  4. Add require hiera/backend to test

    haus committed May 15, 2012
    The lack of hiera/backend caused test failures due to a lack of empty_answer
    method. Adding a require on hiera/backend resolves this failure and provides
    the empty_answer method.
  5. Remove empty Puppet class definition

    haus committed May 15, 2012
    As the puppet hiera functions have been merged into hiera, the Functions class
    no longer needs to be predefined in the spec_helper class and causes test
    failures. As it is no longer needed, this commit removes it from
    spec_helper.rb.
Commits on May 14, 2012
  1. Merge pull request #53 from haus/update_changelog_pre_rc

    Kelsey Hightower committed May 14, 2012
    Moving CHANGES.txt to CHANGELOG. Updating CHANGELOG with git log from in...