Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: puppetlabs/puppetlabs-stdlib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.7
Choose a base ref
...
head repository: puppetlabs/puppetlabs-stdlib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.0
Choose a head ref
  • 12 commits
  • 18 files changed
  • 2 contributors

Commits on Jul 26, 2011

  1. (#8628) Add append_line native type

    This commit adds a native type that can check if
    a line exists and append it to a file.
    
    This use case seems common enough to warrant its
    inclusion into stdlib.
    
    Reviewed-by: Jeff McCune
    Dan Bode committed Jul 26, 2011
    Configuration menu
    Copy the full SHA
    e82370a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature/master/8628_append_line'

    Dan Bode committed Jul 26, 2011
    Configuration menu
    Copy the full SHA
    436c925 View commit details
    Browse the repository at this point in the history
  3. (#8575) Add loadyaml() function

    This change adds a loadyaml() puppet function that takes a path to a
    YAML data file and returns the contents as a Puppet variable.  There is
    currently no validation of the contents of the file.
    
    This commit is intentionally lacking unit tests because of time
    constraints.
    
    Reviewed-by: Dan Bode
    Jeff McCune committed Jul 26, 2011
    Configuration menu
    Copy the full SHA
    8a46e20 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'ticket/master/8585_load_yaml_function'

    * ticket/master/8585_load_yaml_function:
      (#8575) Add loadyaml() function
    Jeff McCune committed Jul 26, 2011
    Configuration menu
    Copy the full SHA
    9560b63 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2011

  1. (#8708) Add has_key function

    It is difficult to use existance of keys in a hash
    as a boolean condition in Puppet (see #8705)
    
    This function provides a working solution until
    the underlying issue in Puppet can be resolved.
    
    Reviewed-by: Jeff McCune
    Dan Bode committed Jul 29, 2011
    Configuration menu
    Copy the full SHA
    b1beaec View commit details
    Browse the repository at this point in the history
  2. (#8709) Add hash merging function

    In Puppet, it is not possible to reassign hash
    values.
    
    This function allows a reasonable way to perform
    hash munging in Puppet.
    
    Reviewed-by: Jeff McCune
    Dan Bode committed Jul 29, 2011
    Configuration menu
    Copy the full SHA
    c4a13ac View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feature/master/add_merge_has_key'

    Dan Bode committed Jul 29, 2011
    Configuration menu
    Copy the full SHA
    2e3d49d View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2011

  1. (#8717) Make merge() function work with Ruby 1.8.5

    The previous behavior of the merge() function used Array#inject with two
    arguments.  Ruby 1.8.5 only supports inject being used with one
    argument.
    
    This change initializes and empty Hash object and merges each argument
    into the accumulator.  The last argument still "wins" in the merge.
    
    rspec tests (cd spec; rspec **/*_spec.rb) verified as passing with this
    change.
    
    Reviewed-by: Dan Bode
    Jeff McCune committed Aug 1, 2011
    Configuration menu
    Copy the full SHA
    4725c97 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'ticket/master/8717_merge_function_ruby_185'

    * ticket/master/8717_merge_function_ruby_185:
      (#8717) Make merge() function work with Ruby 1.8.5
    Jeff McCune committed Aug 1, 2011
    Configuration menu
    Copy the full SHA
    66cfee6 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2011

  1. (#8678) Add validate_array and validate_string functions

    The accounts module is making use of validate_array() and
    validate_string() which do not exist int he stdlib module without this
    patch.
    
    This patch adds the two functions to the stdlib with unit tests.
    
    Reviewed-by: Dan Bode
    Jeff McCune committed Aug 4, 2011
    Configuration menu
    Copy the full SHA
    7393de9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'ticket/master/8678_validate_array_string'

    * ticket/master/8678_validate_array_string:
      (#8678) Add validate_array and validate_string functions
    Jeff McCune committed Aug 4, 2011
    Configuration menu
    Copy the full SHA
    7e3b9b7 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2011

  1. Update CHANGELOG and README for 1.0.0

    Jeff McCune committed Aug 5, 2011
    Configuration menu
    Copy the full SHA
    0466e1b View commit details
    Browse the repository at this point in the history
Loading