Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-07-29 | Removed join_with_prefix. | Ken Barber | |
2011-07-29 | (#2) unstub is_valid_mac_address. | Ken Barber | |
2011-07-29 | Allow sort for strings. | Ken Barber | |
2011-07-28 | Count functionality overlaps with size - so removing it. | Ken Barber | |
2011-07-28 | Removed crontab functions instead of unstubbing them. | Ken Barber | |
2011-07-28 | Removed load_variables. load_yaml is sufficient to solve this problem on its ↵ | Ken Barber | |
own. | |||
2011-07-28 | Remove is_valid_netmask instead of unstubbing. Doesn't seem like a sensible ↵ | Ken Barber | |
function on its own. | |||
2011-07-28 | (#2) unstub is_numeric function. | Ken Barber | |
2011-07-28 | (#2) - unstubbed is_valid_ip_address | Ken Barber | |
2011-07-28 | (#2) - Added is_float and is_integer functionality. | Ken Barber | |
2011-07-26 | (#8575) Add loadyaml() function | Jeff McCune | |
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 | |||
2011-07-24 | (#1) - fleshed out some more tests. | Ken Barber | |
2011-07-01 | Added validate_resource function and examples on how to use it (and kwalify ↵ | Ken Barber | |
as well) | |||
2011-06-30 | Few more tests. | Ken Barber | |
2011-06-29 | Move require inside function for kwalify. | Ken Barber | |
2011-06-29 | Add some more functional tests. | Ken Barber | |
2011-06-29 | Added tests for each function, fixing functions as we hit bugs. | Ken Barber | |
2011-06-29 | Added kwalify function. | Ken Barber | |
2011-06-26 | Removed duplicate - is_hash is really now is_hash instead of is_array. | Ken Barber | |
2011-06-21 | (#8010) Add validate_hash function | Jeff McCune | |
This function validates all passed variables are hashes. This is similar to the validate_bool function and is copied from it. | |||
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 validate_bool() function to stdlib | Jeff McCune | |
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> | |||
2011-05-25 | (#7657) Add basic validate_re function | Jeff McCune | |
While developing Puppet Modules with class parameters, data from the user should be validated as per the Style Guide. Puppet should fail early and hard in the situation of invalid data being passed into the module. This function provides a more concise method to the alternative of using if statements in the Puppet manifests. | |||
2011-04-30 | Moved more functions into lib/puppet/parser/functions/ | Ken Barber | |
2011-04-30 | Moved type.rb | Ken Barber | |
2011-04-30 | Convert to module format. | Ken Barber | |