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: 0.1.4
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: 0.1.5
Choose a head ref
  • 5 commits
  • 5 files changed
  • 1 contributor

Commits on Jun 3, 2011

  1. Add validate_bool() function to stdlib

    This function aborts catalog compilation if any of the passed
    values are not true or false.  Note, this catches the string
    values of true and false correct and will abort catalog
    compilation if they are not boolean values.
    
    Paired-with: Dan Bode <dan@puppetlabs.com>
    Jeff McCune committed Jun 3, 2011
    Configuration menu
    Copy the full SHA
    b9f1bb6 View commit details
    Browse the repository at this point in the history
  2. Add spec test for validate_bool function

    This is an interesting spec test for module developers.
    It illustrates how to cause Puppet to test the function
    from the Puppet DSL rather than the Ruby DSL, fully
    exercising the system from the perspective of the end
    user.
    
    (Note how Puppet[:code] is set, then the scope reset, then
    the compile method called.)
    
    Paired-with: Dan Bode <dan@puppetlabs.com>
    Jeff McCune committed Jun 3, 2011
    Configuration menu
    Copy the full SHA
    20b6c24 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feature/master/validation_functions'

    * feature/master/validation_functions:
      Add spec test for validate_bool function
      Add validate_bool() function to stdlib
    Jeff McCune committed Jun 3, 2011
    Configuration menu
    Copy the full SHA
    3d09333 View commit details
    Browse the repository at this point in the history
  4. Add Apache 2.0 License

    Jeff McCune committed Jun 3, 2011
    Configuration menu
    Copy the full SHA
    593d7f7 View commit details
    Browse the repository at this point in the history
  5. Update CHANGELOG for 0.1.5

    Jeff McCune committed Jun 3, 2011
    Configuration menu
    Copy the full SHA
    fdb175a View commit details
    Browse the repository at this point in the history
Loading