Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-04 | Permit undef passed as `nil` to validate_string | Dominic Cleal | |
When validate_string is called via the Puppet 4 deprecation wrappers from deprecation_gen (introduced in 970852d), `undef` is passed as `nil` where it was previously passed as `''` from the Puppet 3-style function API. This change explicitly permits a `nil` value in validate_string, and adds a test case to `is_string` which also accepts the same. Fixes test failures in apt, concat etc: Error while evaluating a Function Call, nil is not a string. It looks to be a NilClass at apt/manifests/source.pp:23:3 [..] # ./spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_string.rb:34:in `block (2 levels) in <module:Functions>' # ./spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_string.rb:32:in `each' # ./spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_string.rb:32:in `block in <module:Functions>' # puppet-4.7.0/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction' # puppet-4.7.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' # puppet-4.7.0/lib/puppet/util/profiler.rb:51:in `profile' # puppet-4.7.0/lib/puppet/parser/functions.rb:167:in `block in newfunction' # ./spec/fixtures/modules/stdlib/lib/puppet_x/puppetlabs/stdlib/deprecation_gen.rb:13:in `block (2 levels) in deprecation_gen' | |||
2016-10-03 | Merge pull request #659 from HelenCampbell/omglob | David Schmitt | |
Ensure validate functions use Puppet 4 deprecation | |||
2016-10-03 | Replace :context with :all in spec tests | Helen Campbell | |
2016-10-03 | Acceptance test cleanup | Helen Campbell | |
2016-10-03 | Addition of Puppet 4 functions | Helen Campbell | |
2016-09-26 | Merge pull request #657 from HelenCampbell/dupRemoval | David Schmitt | |
Remove duplicate deprecation warnings | |||
2016-09-26 | Remove duplicate deprecation warnings | Helen Campbell | |
2016-09-26 | Merge pull request #656 from HelenCampbell/hashFupdate | Hunter Haugen | |
Add deprecation warnings to remaining validates | |||
2016-09-26 | Add deprecation warnings to remaining validates | Helen Campbell | |
2016-09-21 | Merge pull request #655 from puppetlabs/revert-654-puppet4Dep | David Schmitt | |
Revert "Ensure validate functions use Puppet 4 deprecation" | |||
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 | Merge pull request #653 from hunner/fix_whitespace | Bryan Jen | |
Fix whitespace | |||
2016-09-15 | Fix whitespace | Hunter Haugen | |
2016-09-15 | Merge pull request #644 from dmitryilyin/master | Bryan Jen | |
Refactor dig44 function | |||
2016-09-14 | Merge pull request #652 from pmcmaw/README_numerical_string | David Schmitt | |
Change in readme for numerical string | |||
2016-09-14 | Change in readme for numerical string | Paula McMaw | |
2016-09-07 | Merge pull request #649 from DavidS/modules-3737 | Hunter Haugen | |
(MODULES-3737) refactor validate_legacy and tests | |||
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-07 | Fix assert_private tests to not hit the newly deprecated subject.call | David Schmitt | |
2016-09-06 | Merge pull request #651 from HelenCampbell/deprecationUpdate | Eric Putnam | |
Addition of logging with file and line numbers | |||
2016-09-06 | Addition of logging with file and line numbers | Helen Campbell | |
2016-09-06 | Merge pull request #650 from HelenCampbell/deprecationUpdate | David Schmitt | |
Deprecation function README update | |||
2016-09-06 | Deprecation README update | Helen Campbell | |
2016-09-06 | Merge pull request #641 from HelenCampbell/deprecationUpdate | David Schmitt | |
Deprecation function to be mutable in all cases | |||
2016-09-05 | Deprecation function to be mutable in all cases | Helen Campbell | |
2016-09-02 | Merge pull request #647 from domcleal/validate-legacy-table-formatting | David Schmitt | |
Fix validate_legacy docs table formatting | |||
2016-09-02 | Add facter fact for puppet_environmentpath | Stephen Benjamin | |
2016-09-02 | Fix validate_legacy docs table formatting | Dominic Cleal | |
2016-09-01 | Merge pull request #646 from eputnam/deprecation_spec_fix_2 | Bryan Jen | |
MODULES-3699 Deprecation spec fix 2 | |||
2016-09-01 | (MODULES-3699) fixes deprecation msg test | Eric Putnam | |
2016-09-01 | Merge pull request #645 from DavidS/update-validate_legacy_docs | TP Honey | |
Update documentation for validate_legacy | |||
2016-09-01 | Update documentation for validate_legacy | David Schmitt | |
This adds a in-depth explanation of the process to migrate to Puppet 4 data types. | |||
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-29 | Merge pull request #642 from puppetlabs/modulesync | Eric Putnam | |
Update modulesync_config [a3fe424] | |||
2016-08-26 | Update modulesync_config [a3fe424] | David Schmitt | |
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 | Merge pull request #636 from domcleal/deprecation-warning-logger | David Schmitt | |
(maint) Switch 3.x deprecation() to use Puppet warning logger | |||
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-15 | Merge pull request #635 from DavidS/fix-ensure_resource-expectations | TP Honey | |
(MAINT) Update ensure_resource specs | |||
2016-08-14 | (MAINT) Update ensure_resource specs | David Schmitt | |
This updates the test to match the new behaviour in puppet 4.6.0 | |||
2016-08-14 | Merge pull request #630 from HelenCampbell/validateLegacy | David Schmitt | |
(MODULES-3540) Addition of validate legacy function | |||
2016-08-11 | (WIP) Addition of validate legacy function | Helen Campbell | |
2016-08-10 | (MAINT) move test fixture to proper location | Helen Campbell | |
2016-08-09 | Merge pull request #633 from tphoney/modules-3532 | David Schmitt | |
(modules-3532) deprecate string type checks | |||
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 |