Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-05-05 | range: Clean up and clarify function contents | Eli Young | |
2015-05-05 | Revert "range: remove dead code" | Eli Young | |
This reverts commit 063c58a992c1b5441b7e7b2a2e4886531035bb25, which actually removed non-dead code. Specifically, it removed the ability to make calls such as `range('2..3')`, `range('2...3')`, and `range('2-3')`. cf. https://github.com/puppetlabs/puppetlabs-stdlib/pull/443#commitcomment-11055565 | |||
2015-05-05 | validate_augeas: fix URL to docs | David Schmitt | |
2015-05-05 | range: remove dead code | David Schmitt | |
Since a ParseError is always thrown for zero arguments, the if and all dependent code can be removed. | |||
2015-05-05 | pw_hash: avoid ruby magic when running on java | David Schmitt | |
2015-04-17 | fqdn_rand_string: fix argument error message | David Schmitt | |
2015-04-16 | Merge pull request #314 from amateo/feature/loadyaml_check_file | Morgan Haskel | |
Check if file exists before loading with loadyaml. If not, return nil | |||
2015-04-09 | Merge pull request #405 from elyscape/feature/fqdn_rand_strings | Hunter Haugen | |
(MODULES-1715) Add FQDN-based random string generator | |||
2015-04-05 | (MODULES-1737) Add pw_hash() function | Eli Young | |
2015-03-31 | (MODULES-1715) Add fqdn_rand string generators | Eli Young | |
2015-03-05 | If present, top-level domain must be alphabetic | Rod Montgomery | |
See RFC 1123, Section 2.1 http://tools.ietf.org/html/rfc1123#section-2 | |||
2015-03-05 | Merge pull request #422 from cyberious/assert_private | TP Honey | |
Assert private | |||
2015-03-05 | Add private function back and forward to assert_private with deprecation warning | Travis Fields | |
2015-03-05 | Merge pull request #369 from rfugina/dirname_typecheck | Hunter Haugen | |
Dirname typecheck | |||
2015-03-05 | Rename private() to assert_private() | Franz Pletz | |
As mentioned in #270, private is a reserved keyword in the future parser which is to be released with Puppet 4. As it stands, this function is not useable with the future parser so it needs to renamed. This is a breaking change. | |||
2015-03-05 | Merge pull request #375 from ↵ | Hunter Haugen | |
poikilotherm/feature/master/validate_integer_and_numeric (MODULES-560) Add new functions validate_numeric() and validate_integer(). | |||
2015-03-03 | Add support for hashes in the prefix function | Stefan Goethals | |
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu> | |||
2015-03-03 | URI.escape for the array case was incorrect. | Bryon Roché | |
The previous commit to uriescape() changed the implementation to use the ruby default escape list for URI.escape(), but did not change the call triggered when uriescape() was called on an array, triggering ruby errors. | |||
2015-03-03 | Merge pull request #407 from adamcrews/ceiling_function | Morgan Haskel | |
Add a ceiling function to complement the floor function. | |||
2015-03-02 | Loosen the restrictions of upcase and allow for recursion of the objects and ↵ | Travis Fields | |
only worry if the object responds to upcase | |||
2015-02-26 | Fix issue with Ruby 1.8.7 which did not allow for the return in an each_pair ↵ | Travis Fields | |
of the hash | |||
2015-02-25 | Add Hash to upcase | Travis Fields | |
2015-02-19 | Check for string before copying | Morgan Haskel | |
2015-02-14 | (MODULES-1771) Don't modify input to is_domain_name() | Sean Millichamp | |
Fix is_domain_name() so it dup's its incoming argument to avoid changing the original with a later chomp! | |||
2015-02-12 | (MODULES-1738) Don't modify global seed in fqdn_rotate() | Eli Young | |
As per puppetlabs/puppet@292233c, this leaves the global seed in a deterministic state, which is bad. Puppet::Util.deterministic_rand() exists to avoid running into this issue, but is only present starting in Puppet 3.2.0. | |||
2015-02-01 | Add a ceiling function to complement the floor function. | Adam Crews | |
2015-01-07 | (MODULES-1473) Deprecate type() function for new parser | Hunter Haugen | |
The `type()` function will cease to work on the new parser because 'type' is a reserved keyword. The `type3x()` function may be used to continue similar functionality, but will be deprecated in favor of the built-in typing system. The `type_of()` function has been included to introspect types in the new parser. | |||
2015-01-02 | Merge pull request #336 from mklette/master | Travis Fields | |
ensure_resource: be more verbose in debug mode | |||
2014-12-19 | Update docs to reflect new behavior of delete function taking array in ↵ | Travis Fields | |
second argument | |||
2014-12-19 | MODULES-1606 add ability to pass array to delete for items to delete | Travis Fields | |
2014-12-18 | (MODULES-1582) Improve % detection | Peter Souter | |
Avoids any validate commands that have %'s in them other than "... % ..." | |||
2014-12-18 | (MODULES-1582) Initial spike for % placeholder | Peter Souter | |
This simply `gsub`'s the file path into where the % placeholder is. | |||
2014-12-17 | Merge pull request #372 from ↵ | Morgan Haskel | |
poikilotherm/feature/master/validate_absolute_path_allow_arrays Allow array of pathes in validate_absolute_path | |||
2014-12-17 | Merge pull request #368 from rfugina/basename | Morgan Haskel | |
Basename implementation | |||
2014-12-17 | Added type checks for dirname(), and additional tests | Rob Fugina | |
2014-12-17 | Added basename() based on Ruby's File.basename | Rob Fugina | |
Based on dirname code. Includes RSpec tests and docs. | |||
2014-12-05 | Fixing ruby 1.8 support. | Oliver Bertuch | |
2014-12-04 | Add new functions validate_numeric() and validate_integer(). | Oliver Bertuch | |
2014-12-04 | (MODULES-444) - Real meat of the change | Peter Souter | |
This is the core change, we now go through the array and add it to the first element, instead of just two arguments. | |||
2014-12-04 | (MODULES-444) Change argument restriction to < 2 | Peter Souter | |
2014-12-04 | (MODULES-444) Update docs with new functionality | Peter Souter | |
2014-11-25 | Allow array of pathes in validate_absolute_path | Oliver Bertuch | |
2014-11-17 | Need to convert strings and fixnums to arrays | Morgan Haskel | |
2014-11-13 | Merge pull request #319 from Spredzy/member_array_in_array | Hunter Haugen | |
(MODULES-1329) Allow member to look for array | |||
2014-11-13 | Merge pull request #365 from dalen/range-integers | Hunter Haugen | |
Make the range function work with integers | |||
2014-11-12 | (MODULES-1329) Allow member function to look for array | Yanis Guenane | |
Currently, the member function allows one to only find if a variable is part of an array. Sometimes it is useful to find if an array is part of a bigger array for validation purpose. | |||
2014-11-12 | Make the range function work with integers | Erik Dalén | |
This is needed for the future parser which actually treats numbers as numbers and strings as strings. With this patch you can use range(1,5) instead of having to quote them like range('1','5'). | |||
2014-11-12 | (maint) Fix indentation of range function | Erik Dalén | |
2014-11-10 | Fix breaking out of .each loop | Hunter Haugen | |
And some other small formatting fixes that don't belong in this patch. | |||
2014-11-10 | Catch :undefined_variable thrown when Future Parser is enabled with 3.7.x | Travis Fields | |