Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 12, 2012
  1. @joshcooper

    Merge pull request #70 from kelseyhightower/feature/1.0rc/add_windows…

    joshcooper authored
    …_support
    
    (#14867) Add windows support
  2. (maint) Fix failing Hiera::Util specs

    Kelsey Hightower authored
    This patch makes it easier to test the `Hiera::Util` module.
  3. Use File::ALT_SEPARATOR to test platform

    Kelsey Hightower authored
  4. Add specs for Hiera::Util

    Kelsey Hightower authored
  5. (#14867) Add windows support

    Kelsey Hightower authored
    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 authored
    …ckends
    
    Ticket/master/12122 multiple backends
  2. @pcarlisle

    (#12122) Merge arrays and hashes across backends

    pcarlisle authored
    This implements merging for arrays and hashes across the returned values for
    all backends, using the same logic as merging within a backend.
  3. @pcarlisle

    (#12122) Correctly fall through backends during loop

    pcarlisle authored
    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 authored
    Add default config to hiera
Commits on Jun 4, 2012
  1. @haus

    Add default config to hiera

    haus authored
    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. @haus

    Updating changelog for 1.0.0rc3

    haus authored
  2. Merge pull request #64 from haus/hiera_packaging_overhaul

    Kelsey Hightower authored
    Overhaul hiera packaging
  3. @haus

    Add package task for deb, srpm

    haus authored
    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. @haus

    Add debian packaging for hiera

    haus authored
    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. @haus

    Move conf to ext, replace spec with erb

    haus authored
    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 authored
    Add apple packaging
  4. @zaphod42

    Merge pull request #62 from kelseyhightower/1.0rc

    zaphod42 authored
    (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 authored
  2. @haus

    Update mac packaging to dynamically generate preflight

    haus authored
    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 authored
    Add apple packaging
  4. @haus

    Add mac packaging to hiera

    haus authored
    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. @haus

    Merge pull request #60 from kelseyhightower/1.0rc

    haus authored
    Remove Puppet parser functions
  6. Remove Puppet parser functions

    Kelsey Hightower authored
    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. @djm68

    Merge pull request #59 from kelseyhightower/maint/1.0rc/maint_accepta…

    djm68 authored
    …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 authored
Commits on May 17, 2012
  1. @djm68

    Merge pull request #58 from kelseyhightower/maint/1.0rc/add_hiera_acc…

    djm68 authored
    …eptance_tests
    
    (maint) Add Hiera acceptance tests
  2. (maint) Add Hiera acceptance tests

    Kelsey Hightower authored
    This patch adds new Hiera acceptance tests for stand-alone Hiera.
Commits on May 15, 2012
  1. @daniel-pittman

    Merge pull request #55 from kelseyhightower/1.0rc

    daniel-pittman authored
    (#14514) Use default config when hiera.yaml is missing
  2. (#14514) Use default config when hiera.yaml is missing

    Kelsey Hightower authored
    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 authored
    Remove empty Puppet class definition
  4. @haus

    Add require hiera/backend to test

    haus authored
    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. @haus

    Remove empty Puppet class definition

    haus authored
    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.
  6. @haus
Commits on May 14, 2012
  1. @haus
  2. Merge pull request #53 from haus/update_changelog_pre_rc

    Kelsey Hightower authored
    Moving CHANGES.txt to CHANGELOG. Updating CHANGELOG with git log from in...
Something went wrong with that request. Please try again.