Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-26 | Add deprecation warnings to remaining validates | Helen Campbell | |
2016-09-21 | Revert "Ensure validate functions use Puppet 4 deprecation" | Helen | |
2016-09-21 | Merge pull request #654 from HelenCampbell/puppet4Dep | David Schmitt | |
Ensure validate functions use Puppet 4 deprecation | |||
2016-09-21 | Ensure validate functions use Puppet 4 deprecation | Helen Campbell | |
2016-09-15 | Merge pull request #648 from stbenjam/environmentpath-fact | Hunter Haugen | |
Add facter fact for puppet_environmentpath | |||
2016-09-15 | Fix whitespace | Hunter Haugen | |
2016-09-15 | Merge pull request #644 from dmitryilyin/master | Bryan Jen | |
Refactor dig44 function | |||
2016-09-07 | (MODULES-3737) validate_legacy: refactoring | David Schmitt | |
* validate_legacy now accepts undef values * update the TypeMismatch message to include the original validate function name * only notice, not warn, on newly allowed values * changed previous_validation to function_name to avoid confusion with the function of the same name * use deprecation() instead of warn(), when hitting a deprecated value * prepare the tests and function for MODULES-3735 * rewrite validate_legacy tests to use new rspec-puppet * move validate_re deprecation to puppet4 only * adapt validate_re_spec | |||
2016-09-06 | Addition of logging with file and line numbers | Helen Campbell | |
2016-09-05 | Deprecation function to be mutable in all cases | Helen Campbell | |
2016-09-02 | Add facter fact for puppet_environmentpath | Stephen Benjamin | |
2016-08-30 | Refactor dig44 function | Dmitry Ilyin | |
The current implementation of the dig44 function has the following problems: * Doesn't recognise Puppet4's :undef value as an empty value and doesn't return the default value. * Doesn't make a different between false and nil value and returns the default value for a non-empty false value | |||
2016-08-17 | Merge pull request #637 from HelenCampbell/ipdeprecation | David Schmitt | |
(MODULES-3534) Deprecation of ip functions | |||
2016-08-17 | Deprecation of ip functions | Helen Campbell | |
2016-08-15 | (maint) Switch 3.x deprecation() to use Puppet warning logger | Dominic Cleal | |
The deprecation function was calling the `Kernel#warn` function which prints to stderr, rather than the Puppet logger. This causes problems for Puppet module tests on Travis CI, which has a cap on the amount of stdout/err permitted in its logs and also prevents users from finding the deprecation warnings when running under a Puppet master. | |||
2016-08-11 | (WIP) Addition of validate legacy function | Helen Campbell | |
2016-08-08 | (modules-3532) deprecate string type checks | tphoney | |
2016-08-08 | Merge pull request #629 from tphoney/MODULES-3533 | David Schmitt | |
(modules-3533) deprecation for 3.x number function | |||
2016-08-08 | (modules-3533) deprecation for 3.x number function | tphoney | |
2016-08-05 | Handle array values in join_keys_to_values function | Chris Edester | |
2016-07-27 | Fix str2bool error message | Loic Antoine-Gombeaud | |
2016-07-22 | Added the regexpescape function. | Steve Moore | |
2016-07-19 | (modules-3407) documenting after can take a regex | tphoney | |
2016-07-19 | (MODULES-2143) document edge behaviour of range. | tphoney | |
2016-07-18 | Merge pull request #617 from tphoney/add_deprecate_function | David Schmitt | |
(MODULES-3529) add deprecation function | |||
2016-07-18 | (MODULES-3529)add deprecation function | tphoney | |
2016-07-13 | Merge pull request #618 from ntpttr/fix/master/modules-3568 | David Schmitt | |
(MODULES-3568) Move dig to dig44 and deprecate dig | |||
2016-07-08 | (MODULES-3568) Move dig to dig44 and deprecate dig | Nate Potter | |
A new version of dig was introduced in Puppet 4.5.0 that isn't compatible with the stdlib version of dig. To maintain backwards compatibility and ensure that tests for stdlib aren't broken, this patch renames dig to dig44 and adds a deprecation warning to the stdlib dig function. | |||
2016-06-30 | (MODULES-3543) Fixup defined_with_params to work on all puppet versions | David Schmitt | |
2016-06-29 | (MODULES-3543) Fix define_with_params to handle undef properly | David Schmitt | |
As described in PUP-6422, ensure_resources('File[/tmp/a]', { owner => undef }) would not actually create the file. This fixes it, and adds tests to prove it. | |||
2016-06-28 | (MODULES-3507) Updates file_line path validation | Bryan Jen | |
2016-05-13 | Add a delete_regex function | Joseph Yaworski | |
To maintain backwards compatibility, add a delete_regex function instead of modifying delete itself. | |||
2016-05-12 | Merge pull request #600 from dmitryilyin/master | Bryan Jen | |
Add the default value to the "loadyaml" function | |||
2016-05-11 | (MODULES-3354) Use 1.8.7 hash in validate_email_address function | Stephen Benjamin | |
2016-05-05 | Merge pull request #601 from petems/MODULES-1439-any2bool_added | Bryan Jen | |
(MODULES-1439) Adds any2bool function | |||
2016-05-04 | Use reject instead of delete_if | Joseph Yaworski | |
2016-05-03 | Merge pull request #603 from puppetlabs/4.12.x | Bryan Jen | |
Mergeback 4.12.x | |||
2016-05-02 | (MODULES-1439) Adds any2bool function | Peter Souter | |
* Basically a combination of `string2bool` and `num2bool` | |||
2016-04-28 | Expose the functions of ruby's built-in Shellwords module (#580) | Joris | |
* Add shell_escape function, shell_join function & shell_split function | |||
2016-04-26 | Add the default value to the "loadyaml" function | Dmitry Ilyin | |
This value will be returned if the is no file to load or a file could not be parsed. It's similar to the "parseyaml" function's default value. Add the "loadjson" function too | |||
2016-04-25 | Revert "Add support for regular expressions to delete" | Hunter Haugen | |
This reverts commit 0d46515b57cea60d4d5f1e4d81a75a448a7a73a8. It introduced backwards-incompatible functionality. | |||
2016-04-18 | (MODULES-3271) Ensure that is_email_address works on unsupported rubies | David Schmitt | |
2016-04-12 | Add support for regular expressions to delete | Joseph Yaworski | |
2016-04-11 | Merge pull request #590 from alext/fix_concat_with_hash | Hunter Haugen | |
(MODULES-3246) Fix concat with Hash arguments. | |||
2016-04-11 | Merge pull request #583 from jyaworski/validate_email_address | TP Honey | |
Add validate_email_address function | |||
2016-04-10 | Add validate_email_address function | Joseph Yaworski | |
2016-04-08 | (MODULES-3246) Fix concat with Hash arguments. | Alex Tomlins | |
85d5ead Updated the concat function so that it wouldn't modify the original array. A side-effect of this change is that it now always calls `Array()` on the second argument. If thit is a Hash, this results in `to_a` being called on the hash, which converts it to an array or tuples. This is undesired. Update the behaviour so that it doesn't (indirectly) call `to_a` on anything, instead test for the type of the argument, wrapping it in an array if it's not already an array. | |||
2016-04-07 | Merge pull request #585 from ↵ | Hunter Haugen | |
jearls/MODULES-2370-update-validate-to-not-require-line-when-matching-for-absence [MODULES-2370] file_line.rb: Fix `line` attribute validation | |||
2016-04-07 | (maint) also catch Psych::SyntaxError | David Schmitt | |
Psych::SyntaxError is a RuntimeException. This still needs to catch that. This was uncovered by the recent move to catch StandardError rather than the catchall Exception that was here before. | |||
2016-03-29 | catch StandardError rather than the gratuitous Exception | Felix Frank | |