summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-19Merge pull request #703 from blackknight36/masterDavid Schmitt
Change - Update str2bool documentation
2016-12-19Change - Update str2bool documentationMichael Watters
Updated documentation for this function to be consistent with the function itself.
2016-12-15Merge pull request #640 from hunner/add_pryBryan Jen
Add pry() function from hunner-pry
2016-12-15Merge pull request #702 from puppetlabs/modsyncDavid Schmitt
(FM-5972) gettext and spec.opts
2016-12-14gettext and spec.optsEric Putnam
2016-12-13Merge pull request #700 from petems/MODULES-4188-uuid_functionBryan Jen
(MODULES-4188) Add UUID generation function
2016-12-09Merge pull request #697 from ↵David Schmitt
HAIL9000/issue/master/MODULES-3829_add_tests_for_ensure_resources (MODULES-3829) Add tests for ensure_resources
2016-12-09(MODULES-3829) Make ensure_packages work with < 2.0Hailee Kenney
Prior to this commit, if a hash was passed in as an argument to the ensure_packages function a method of hash duplication would be used that is not supported with versions of ruby older than 2.0. In order to ensure the method is compatible with older ruby versions, switch to a different method of duplication. Additionally add tests to prevent further regressions.
2016-12-09(MODULES-4188) Add FQDN UUID generation functionPeter Souter
* Generates UUID based on a given FQDN string and the DNS namespace (6ba7b810-9dad-11d1-80b4-00c04fd430c8)
2016-12-08(MODULES-3829) Add tests for ensure_resourcesHailee Kenney
Prior to this commit, we didn't have tests for the ensure_resources function (only for the ensure_resource function). This meant that we weren't catching a bug in the ensure_resources function. In order to prevent this in the future, add some tests which test the specific functionality of ensure_resources.
2016-12-08Add pry() function from hunner-pryHunter Haugen
2016-12-05Merge pull request #699 from HelenCampbell/releaseprepTP Honey
Release prep for 4.14.0
2016-12-05Release prep for 4.14.0Helen Campbell
The previous release prep accidentally had 4.13.2 instead of 4.14.0 as is appropriate with releases with features. This is a PR to rectify that. No 4.13.2 release or tag will be made. The 4.14.0 release will go ahead instead.
2016-12-05Merge pull request #698 from HelenCampbell/releaseprepDavid Schmitt
Release prep for 4.13.2
2016-12-05Release prep for 4.13.2Helen Campbell
2016-12-02Merge pull request #696 from puppetlabs/hunner_msyncDavid Schmitt
(MODULES-3631) msync Gemfile for 1.9 frozen strings
2016-12-01(MODULES-3631) msync Gemfile for 1.9 frozen stringsHunter Haugen
2016-12-01Indicate that the type function is preferred (#695)Nick Walker
Prior to this commit, users coming to the type_of function would not realize that the type function in puppet does the same thing and is preferred over type_of. After this commit, we have a comment indicating the above.
2016-11-29Merge pull request #693 from HelenCampbell/moreErrorDetailDavid Schmitt
(MODULES-3393) Deprecation - Use puppet stacktrace if available
2016-11-29Update deprecation tests to include future parserHelen Campbell
2016-11-28Merge pull request #694 from DavidS/fix-v3-deprecation-function-typeEric Putnam
Remove rvalue declaration from v3 deprecation() function
2016-11-27Remove rvalue declaration from v3 deprecation() functionDavid Schmitt
Without this, some uses of this function do not work in puppet3. e.g. if $include_src != undef { deprecation('apt $include_src', "please use \$include => { 'src' => ${include_src} } instead") } causes Function 'deprecation' must be the value of a statement on puppet 3.8.7.
2016-11-24Deprecation - Use puppet stacktrace if availableHelen Campbell
A previous PR (#685) was raised on this issue, however once it was merged it was discovered that Puppet 3 with future parser enabled was calling the Puppet 4 version of the deprecation function. The Puppet stacktrace is not available until Puppet 4.6, so this was breaking existing setups. The solution was to check is the stacktrace was defined, and if it was to use it as part of the message output.
2016-11-21Merge pull request #691 from idnorton/masterDavid Schmitt
Fixing broken link to #validate_legacy docs
2016-11-21Merge pull request #692 from puppetlabs/revert-685-errorDetailEric Putnam
Revert "Call site output for deprecation warnings"
2016-11-21Revert "Call site output for deprecation warnings"Bryan Jen
2016-11-21Merge pull request #685 from HelenCampbell/errorDetailDavid Schmitt
Call site output for deprecation warnings
2016-11-21Call site display for deprecation warningsHelen Campbell
2016-11-21Fixing broken link to #validate_legacy docsIan Norton
2016-11-16Merge pull request #690 from jbondpdx/masterDavid Schmitt
MODULES-4008: clarify deprecation language
2016-11-16MODULES-4008: clarify deprecation languagejbondpdx
2016-11-11Merge pull request #688 from puppetlabs/hunner_msyncEric Putnam
(MODULES-3704) Update gemfile template to be identical
2016-11-11(MODULES-3704) Update gemfile template to be identicalHunter Haugen
2016-11-10Add puppet_server fact to return agent's serverReid Vandewiele
It is frequently useful to configure an agent to retrieve a resource from it's configured master, or make further configuration adjustments to itself based on what server it's using. Similar to the rationale for stdlib providing a puppet_vardir fact, this commit adds a puppet_server fact. Note that the closest equivalent available today is $settings::server, which returns only the MASTER's configured server, not the AGENT's. This makes $settings::server unreliable, and not useful in a multi-master deployment or a deployment involving a load balancer.
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