Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-21 | (#8010) Add getvar() rvalue function | Jeff McCune | |
This isn't directly related to #8010, but rather indirectly fills the need to allow the end user to configure where data values are looked up. This allows the namespace to be passed as a class parameter. A module may then quickly and easily look up data from the user-defined namespace. | |||
2011-06-03 | Add additional tests to validate_bool() spec | Jeff McCune | |
2011-06-03 | Add spec test for validate_bool function | Jeff McCune | |
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> |