Commits on May 18, 2016
  1. @hlindberg
  2. @hlindberg

    Merge branch 'stable'

    hlindberg committed May 18, 2016
  3. @hlindberg
  4. @stahnma

    Merge pull request #354 from McdonaldSeanp/RE-7020/add_no_bat_option

    (HI-515) Add --no-batch-files option
    stahnma committed May 18, 2016
Commits on May 17, 2016
  1. @McdonaldSeanp

    (HI-515) Add --no-batch-files option

    puppet-agent carries the batch files for all executables with the new move to
    vanagon for windows projects, we will need an option to omit batch file
    creation during installation of hiera so there are not more than one set of
    batch files. So this commit adds a --no-batch-files option for cmake that omits
    those files.
    McdonaldSeanp committed May 17, 2016
Commits on May 3, 2016
  1. @hlindberg

    Merge pull request #353 from thallgren/issue/hi-510/hiera_yaml-code_d…

    …ir-before_conf_dir
    
    (HI-510) Look for hiera.yaml in codedir first, then confdir
    hlindberg committed May 3, 2016
  2. @thallgren

    (HI-510) Look for hiera.yaml in codedir first, then confdir

    This commit ensures that when Hiera is initialized, it will first check
    if a config file is specified using a CLI option. If it is, then that
    config will be used (and an error is raised if it doesn't exist). When
    no CLI option is used, Hiera will first look `hiera.yaml` in the
    codedir and if no such file exists, it will default to `hiera.yaml`
    in confdir.
    thallgren committed May 3, 2016
Commits on Apr 27, 2016
  1. @kylog
  2. @kylog

    Merge branch 'stable'

    kylog committed Apr 27, 2016
  3. @kylog
Commits on Apr 15, 2016
  1. @MikaelSmith

    Merge pull request #352 from LuvCurves/HI-509

    (HI-509) Add static node config for huawei
    MikaelSmith committed Apr 15, 2016
  2. @LuvCurves
Commits on Apr 10, 2016
  1. @hlindberg

    Merge pull request #351 from thallgren/issue/hi-202/dot-related-error…

    …-messages
    
    (HI-502) Improve error reporting when using dotted keys.
    hlindberg committed Apr 11, 2016
  2. @thallgren

    (HI-502) Improve error reporting when using dotted keys.

    This commit removes mentioning of 'segmented keys' in favor of wording
    using 'dotted keys' and 'access' and adds the offending key to related
    error messages.
    thallgren committed Apr 10, 2016
  3. @thallgren

    Merge branch 'stable'

    thallgren committed Apr 10, 2016
Commits on Apr 8, 2016
  1. @kylog

    Merge pull request #350 from geoffnichols/maint/stable/disable_epel_r…

    …epos
    
    (MAINT) Disable 'add_el_extras' for Beaker
    kylog committed Apr 7, 2016
Commits on Apr 7, 2016
  1. @geoffnichols

    (MAINT) Disable 'add_el_extras' for Beaker

    Prior to this commit, we install and enable
    an EPEL repo config during hiera acceptance
    testing. However, we don't currently appear
    to install any packages from EPEL during
    testing.
    
    To reduce potential occurrence of transient
    failures in CI (due to issues with repo metadata,
    etc), this commit sets 'add_el_extras' to
    'false' so that Beaker doesn't set up the EPEL
    repos on an SUT.
    geoffnichols committed Apr 7, 2016
Commits on Mar 30, 2016
  1. @hlindberg

    Merge branch 'stable'

    hlindberg committed Mar 30, 2016
  2. @hlindberg

    (maint) Remove mention of 'unpack_arrays' in comments

    The feature 'unpack_arrays' has been removed everywhere. This removes an
    internal code comment that this removed feature is supported.
    hlindberg committed Mar 30, 2016
Commits on Mar 29, 2016
  1. @MikaelSmith
  2. @MikaelSmith
Commits on Mar 25, 2016
  1. @hlindberg

    Update README.md

    hlindberg committed Mar 25, 2016
Commits on Mar 24, 2016
  1. @hlindberg

    Merge pull request #349 from puppetlabs/stable

    Merge Stable to Master
    hlindberg committed Mar 24, 2016
  2. @hlindberg

    Merge pull request #348 from thallgren/issue/hi-508/prevent-subkey-lo…

    …okup-in-string
    
    (HI-508) Prevent that subkeys can do lookups in string values
    hlindberg committed Mar 24, 2016
Commits on Mar 23, 2016
  1. @thallgren

    (HI-508) Prevent that subkeys can do lookups in string values

    Before this commit, a subkey of a dotted key could be matched by a
    string that contained a matching text. Hiera would require that the
    value
    responded to :[] and that it was not an Array (arrays should use numeric
    index). A string fulfills that requirement.
    
    This commit adds the constraint that the value cannot be a String when
    subjected to a lookup.
    thallgren committed Mar 23, 2016
Commits on Mar 17, 2016
  1. @hlindberg

    Merge pull request #345 from thallgren/issue/hi-504/quote-dotted-keys

    (HI-504) Add ability to use quoted keys
    hlindberg committed Mar 17, 2016
  2. @thallgren

    (HI-504) Improve examples of how to use quoted keys

    - Clarify that the examples use YAML syntax
    - Use partially quoted keys
    thallgren committed Mar 17, 2016
  3. @thallgren

    (HI-504) Make it possible to use partially quoted keys

    This commit modifies the key parser so that it will split keys that
    contains quoted segments such as:
    
    a.'b.c'.d
    
    A segment must either be quoted as whole or not at all.
    thallgren committed Mar 17, 2016
  4. @thallgren

    (HI-504) Add ability to use quoted keys

    This commit adds the ability to put quotes around keys. A key can be
    quoted with either single or double quotes. A quoted key will be used
    verbatim instead of splitting it on dots. In other words, quoting a key
    will not use dots to navigate into hashes and arrays. Instead it will
    match a dotted key at top level.
    
    Interpolation expressions that use interpolation methods must have the
    key quoted twice to get the effect. The reason for this is that the
    argument to an interpolation method already had to be quoted. In order
    to not introduce incompatibilities, a quoted key in this context must
    therefore be quoted twice. Example:
    
    ```
    ---
    a.quoted.key: 'Value for a quoted key'
    ref.to.key: 'Put the value here: %{hiera("''a.quoted.key''")}'
    ```
    thallgren committed Mar 16, 2016
  5. @thallgren

    (HI-504) Clean up and speed up interpolation logic

    This commit cleans up the interpolation logic, decreases the number
    of regular expression matches that are performed on each call and
    improves its ability to detect misspelled method names or incorrectly
    quoted method arguments.
    thallgren committed Mar 17, 2016
  6. @thallgren

    (HI-504) Reduce clutter in interpolation unit spec

    Some lines of code were repeated time after time in the
    interpolate_spec.rb. This commit cleans that up.
    thallgren committed Mar 17, 2016
  7. @MikaelSmith
Commits on Feb 27, 2016
  1. @thallgren

    (maint) Add test to assert interpolation resolution in nested values

    This commit adds a test to verify Hiera, when evaluating interpolation
    expressions,  will resolve an alias that appoints a nested value
    (hash or array) which in turn contains interpolations with aliases
    that appoints other nested values.
    thallgren committed Feb 28, 2016
Commits on Feb 25, 2016
  1. @hlindberg

    (maint) Change "fail" to "raise"

    Our main style is using "raise"
    hlindberg committed Feb 25, 2016
  2. @kylog

    Merge pull request #344 from hlindberg/HI-499_error-if-backend-can-no…

    …t-be-loaded
    
    (HI-499) Fail if backend cannot be loaded
    kylog committed Feb 25, 2016