summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-10Merge pull request #632 from MiamiOH/masterWilson McCoubrey
Handle array values in join_keys_to_values function
2016-11-10Merge pull request #689 from DavidS/fix-test-failuresHelen
Fix spec failures on puppet 4.8
2016-11-10Fix spec failures on puppet 4.8David Schmitt
These were caused by a change in the tested error message.
2016-11-10Merge pull request #686 from HelenCampbell/whateverDavid Schmitt
Addition of 4.6 and 4.7 travis cells
2016-11-09Merge pull request #681 from cacack/masterWilson McCoubrey
Remove leading spaces
2016-11-08Merge pull request #687 from MG2R/MODULES3829David Schmitt
(MODULES-3829) Use .dup to duplicate classes for modification.
2016-11-08(MODULES-3829) Use .dup to duplicate classes for modification.Simon Beirnaert
This function otherwise fails during `puppet preview` on Puppet 3.8.X systems.
2016-11-07Addition of 4.6 and 4.7 travis cellsHelen Campbell
2016-10-26Remove leading spacesChris Clonch
This corrects puppet-linting error.
2016-10-25Merge pull request #680 from DavidS/modules-3980-fix-ipv4-regexHunter Haugen
(MODULES-3980) Fix ipv4 regex validator
2016-10-25(MODULES-3980) Fix ipv4 regex validatorDavid Schmitt
This also updates all ipv4 tests to use the same test data for better comparability. Closes #676, #679 Fix-Originally-By: Nate Potter <nathaniel.potter@intel.com>
2016-10-25Merge pull request #682 from pmcmaw/paralell_tests_modulesyncDavid Schmitt
This is to pin ruby version to parallel_tests
2016-10-25 This is to pin ruby version to parallel_testsPaula McMaw
2016-10-14Merge pull request #675 from smoeding/fix-deprecation-typoDavid Schmitt
Fix incorrect environment variable name in README
2016-10-14Fix incorrect environment variable name in READMEStefan Möding
The README references the environment variable `STDLIB_LOG_DEPRECATION` while the code uses `STDLIB_LOG_DEPRECATIONS` (note the trailing S).
2016-10-12Merge pull request #674 from DavidS/modules-3969-fix-getvar-for-187Bryan Jen
(MODULES-3969) Update getvar to work on ruby 1.8.7
2016-10-12Update CHANGELOGDavid Schmitt
2016-10-12(MODULES-3969) Update getvar to work on ruby 1.8.7David Schmitt
2016-10-12Merge pull request #673 from DavidS/modules-3962-compat-fixesHelen
(MODULES-3962) Rework v4 function shims to work on puppet 3.7 and 4.0.0
2016-10-12(MODULES-3962) Rework v4 function shims to work on puppet 3.7 and 4.0.0David Schmitt
This is a workaround for PUP-4438 (fixed in https://github.com/puppetlabs/puppet/commit/e01c4dc924cd963ff6630008a5200fc6a2023b08, 4.1.0, 3.8.1). It works by manually passing through the scope, instead of relying on the InternalFunction class.
2016-10-12Merge pull request #672 from DavidS/modules-3961-fix-deprecation-warningsHelen
(MODULES-3961) emit more deprecation warnings
2016-10-12(MODULES-3961) emit more deprecation warningsDavid Schmitt
This now emits one deprecation warning for each function used (but not for each call-site). Prior to this, only a single deprecation warning would have been triggered, potentially misleading users. Additionally this adds v4 deprecation stubs for the functions that were missed.
2016-10-11Merge pull request #671 from puppetlabs/releaseHelen
Mergeback
2016-10-10Merge pull request #670 from DavidS/release-prepHelen
Release prep for 4.13.0
2016-10-10Apply workaround to hanging facter testsDavid Schmitt
Apparently mocha 1.2.0 causes an endless hang on spec/unit/facter/root_home_spec.rb. Forcing an earlier version avoids this for now.
2016-10-10Release prep for 4.13.0David Schmitt
* Changelog & Thanks * Add known issues/version compatiblity to README * Whitespace fixes * Update version and dependency information * Fix issue tracker URL
2016-10-10Merge pull request #668 from DavidS/final-cleanupsHelen
Final cleanups
2016-10-09Add testcase for #665David Schmitt
@keymone added information on how to reproduce his issue, so here's the test case that would fail without his change.
2016-10-09Update deprecation() so warnings can be disabled for CIDavid Schmitt
2016-10-08Revert "Addition of logging with file and line numbers"David Schmitt
This reverts commit b63862ff43194194f7428739a32cfe13bad1e7ed, as it would only show the irrelevant first entry of the ruby stack trace. The puppetserver log does contain the full trace information, or you can use --strict=error to cause a hard failure when hitting a deprecation. # Conflicts: # lib/puppet/functions/validate_legacy.rb
2016-10-08(MODULES-3407) Clarify that 'after' in file_line accepts regex.Nate Potter
This patch updates the README to specify that the 'after' parameter in the file_line class accepts a regular expression.
2016-10-08Ignore :undefined_variable "reason" in getvarMaksym Melnychok
`catch` returns value of second argument to `throw`, which until 860a2761f334c964068038b3ef6853f08beb1df5 was `nil`, but now is non-falsey reason for error. short-circuit using return and eval to nil if `throw` was caught.
2016-10-07Merge pull request #664 from HelenCampbell/typeupdatesDavid Schmitt
Type updates
2016-10-07Addition of several new typesHelen Campbell
2016-10-07Merge pull request #667 from DavidS/remove-dynamic-deprecation_genHelen
(FM-5703, PUP-6717) Remove the dynamic deprecation_gen function
2016-10-07(Maint) add missing validate_slength deprecationDavid Schmitt
2016-10-07(FM-5703, PUP-6717) Remove the dynamic deprecation_genDavid Schmitt
This was not working when the puppet master did not have the newest stdlib version in its environment.
2016-10-07Merge pull request #666 from ↵David Schmitt
HAIL9000/issue/master/MODULES-3590_fix_match_for_absence_parameter (MODULES-3590) Fix match_for_absence parameter
2016-10-06(MODULES-3590) Fix match_for_absence parameterHailee Kenney
Prior to this commit, due to a bug in the exists? method in the file_line provider, match_for_absence didn't work as described (or at all really). Update the exists? logic so that match_for_absence works as described. Additionally add a unit test to prevent regressions and update the documentation for the parameter to reflect the fact that it is ignored when `ensure => present`.
2016-10-06Corrects Puppet version for compat types testsHelen Campbell
2016-10-04Merge pull request #663 from DavidS/modules-3933-getparam-false-valuesEric Putnam
(MODULES-3933) Fix getparam for 'false' values
2016-10-04(MODULES-3933) Fix getparam for 'false' valuesDavid Schmitt
This is the idiomatic version of #634, and also addresses the test failures. Original-Fix-By: Michiel Brandenburg <michiel@silverstreet.com>
2016-10-04MODULES-3774: stdlib validate_legacy reviewjbondpdx
2016-10-04Merge pull request #662 from domcleal/validate-string-undefDavid Schmitt
Permit undef passed as `nil` to validate_string
2016-10-04Permit undef passed as `nil` to validate_stringDominic 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-03Merge pull request #659 from HelenCampbell/omglobDavid Schmitt
Ensure validate functions use Puppet 4 deprecation
2016-10-03Replace :context with :all in spec testsHelen Campbell
2016-10-03Acceptance test cleanupHelen Campbell
2016-10-03Addition of Puppet 4 functionsHelen Campbell
2016-09-26Merge pull request #657 from HelenCampbell/dupRemovalDavid Schmitt
Remove duplicate deprecation warnings