Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-09 | Merge pull request #544 from HelenCampbell/readmeaddition | David Schmitt | |
pick_default addition to readme | |||
2015-11-09 | pick_default addition to readme | Helen Campbell | |
2015-11-06 | Merge pull request #542 from greg0ire/patch-1 | Helen | |
use properly encoded characters | |||
2015-11-03 | use properly encoded characters | Grégoire Paris | |
This is more severe than it sounds. These characters make puppet fail with the following message : > Error 400 on SERVER: "\xC3" on US-ASCII | |||
2015-10-28 | Merge pull request #541 from mattflaschen/patch-1 | David Schmitt | |
Fix capitalize docs | |||
2015-10-27 | Fix capitalize docs | Matt Flaschen | |
Capitalize lower-cases the remaining characters (due to the Ruby function having this behavior); document this, and make minor wording tweaks. | |||
2015-10-23 | Merge pull request #540 from marrero984/update_str2bool_readme | David Schmitt | |
(#2183) updated str2bool readme wording | |||
2015-10-22 | (#2183) updated str2bool readme wording | marrero984 | |
2015-10-16 | Merge pull request #538 from mmckinst/bool2str_enhance | David Schmitt | |
add functionality to bool2str function | |||
2015-10-15 | add functionality to bool2str to return strings of your choice for a boolean | Mark McKinstry | |
2015-10-15 | Merge pull request #539 from mentat/MODULES-2696 | Hunter Haugen | |
Add check to ensure regex does not throw for none type. | |||
2015-10-15 | Add check to ensure regex does not throw for none type. | Jesse Lovelace | |
Add a quick check to ensure puppetversion value is not nil and supporting test. | |||
2015-10-15 | Merge pull request #537 from cmurphy/fix_load_module_metadata | David Schmitt | |
Fix load module metadata | |||
2015-10-14 | Let load_module_metadata succeed on empty file | Colleen Murphy | |
Some modules or module versions don't have a metadata.json file, but we might still want to use the load_module_metadata function on them. The lack of a file can still give us important information. For example, it might tell us that the version of the module installed is "very old" even if we can't read the version number directly. This patch adds a parameter to let the user specify if an empty file is acceptable. To preserve backwards compatibility it does not change the current default behavior, which is to raise an error if metadata.json does not exist. | |||
2015-10-14 | Rename load_module_metadata test path | Colleen Murphy | |
`rake spec` only finds test files that end in _spec.rb, so this test was not being run. Correct the path name so that the test runs properly. | |||
2015-10-14 | Merge pull request #536 from DavidS/improve-file_line-docs | TP Honey | |
(MODULES-2421) improve description of file_line | |||
2015-10-13 | (MODULES-2421) improve description of file_line | David Schmitt | |
This mostly needed extraction of the existing doc strings from the type. | |||
2015-10-13 | Merge pull request #535 from martinpfeifer/package_provider_fact | David Schmitt | |
prevent deprecation warning about the allow_virtual parameter | |||
2015-10-13 | prevent deprecation warning about the allow_virtual parameter | Martin Pfeifer | |
2015-10-01 | Merge pull request #534 from asasfu/feature/package_provider_fact | Bryan Jen | |
Add package_provider fact | |||
2015-09-28 | Merge pull request #533 from HelenCampbell/MODULES-2614-Improved | David Schmitt | |
Modules 2614 improved numeric value handling on empty function | |||
2015-09-28 | Added acceptance test and updated readme | Helen Campbell | |
2015-09-28 | Check for numeric values as empty fails on those | Roman Mueller | |
2015-09-28 | Merge pull request #532 from DavidS/fix-is_a-readme | Helen | |
(FM-3701) Update README for is_a | |||
2015-09-28 | (FM-3701) Update README for is_a | David Schmitt | |
2015-09-28 | Merge pull request #531 from asasfu/improvement/service_provider_fact | David Schmitt | |
fixup-PR#506 Speed improvements in facter resolution | |||
2015-09-25 | fixup-PR#506 Speed improvements in facter resolution | Adam S | |
This is to improve speed on Facter resolution of service_provider fact that was just introduced in PR# 506. The improvements go from 280ms resolution time approx. down to 2ms resolution time approx. by adding requires statements. | |||
2015-09-25 | Add package_provider fact | Adam S | |
This adds a package_provider fact for situations where we need to be able to know the client's package provider in a simple way. Situations such as: package { 'name': install_options => [] } As those tend to be package provider specific options. | |||
2015-09-24 | Merge pull request #506 from binford2k/feature/service_provider_fact | Hunter Haugen | |
Add a service_provider fact | |||
2015-09-23 | Merge pull request #530 from HelenCampbell/MODULES-2614 | David Schmitt | |
Adding update to empty function readme | |||
2015-09-23 | Adding update to empty function readme | Helen Campbell | |
2015-09-21 | Merge pull request #528 from mhaskel/is_a_fixes | Bryan Jen | |
Update is_a acceptance tests to only run on puppet4 | |||
2015-09-21 | Update is_a acceptance tests to only run on puppet4 | Morgan Haskel | |
2015-09-21 | Merge pull request #527 from mhaskel/511_compatibility | Bryan Jen | |
Fix backwards compatibility from #511 | |||
2015-09-21 | Fix backwards compatibility from #511 | Morgan Haskel | |
Maintain the old behavior in the case where the optional second parameter isn't passed. Also, adding arity is backwards incompatible since stdlib still supports 2.7, so remove that. | |||
2015-09-17 | Merge pull request #526 from DavidS/improve-validate_re-docs | Hunter Haugen | |
(MAINT) validate_re: Clarify docs and error message | |||
2015-09-17 | (MAINT) validate_re: Clarify docs and error message | David Schmitt | |
2015-09-14 | Merge pull request #524 from binford2k/docs/intersection_truthiness | David Schmitt | |
Clarify what an empty intersection looks like. | |||
2015-09-14 | Clarify what an empty intersection looks like. | Ben Ford | |
2015-09-14 | Merge pull request #523 from DavidS/modules-2516-is_a | Bryan Jen | |
(MODULES-2561) add is_a function | |||
2015-09-14 | Merge pull request #511 from dmitryilyin/parseyaml_default | Bryan Jen | |
[MODULES-2462] Improve parseyaml function | |||
2015-09-14 | (MODULES-2516) Adds an is_a() function | David Schmitt | |
The data type system is very hard to understand. Many people don't understand why type_of([1,2,3]) == Array will fail, but type_of([1,2,3]) <= Array passes. This does a simpler validation that doesn't rely on explicit data types. Instead, use $foo = [1,2,3] if $foo.is_a(Array) { notify { 'This is an array': } } This is based on code by Ben Ford <ben.ford@puppetlabs.com>. * Added acceptance tests * Added dispatch * Improved unit tests * Added docs to README | |||
2015-09-09 | Merge pull request #518 from logicminds/case_insensitive | TP Honey | |
accept any case of boolean strings | |||
2015-09-08 | Merge pull request #519 from dmitryilyin/fetch | TP Honey | |
[MAINT] Improve 'try_get_value' readme | |||
2015-09-04 | [MAINT] Improve 'try_get_value' readme | Dmitry Ilyin | |
2015-09-04 | accept any case of boolean strings | Corey Osman | |
* previously the str2bool function did not accept 'TRUE' as a bool type. This causes the function to now accept TRUE, FALSE strings as a boolean type in order to be converted to a proper boolean. * This would also cause Y,N, YES, NO to be accepted as boolean types as well. | |||
2015-09-02 | Merge pull request #517 from DavidS/try_get_value-acceptance | TP Honey | |
(MAINT) fix up try_get_value acceptance test | |||
2015-09-02 | (MAINT) fix up try_get_value acceptance test | David Schmitt | |
2015-09-02 | Merge pull request #513 from dmitryilyin/fetch | David Schmitt | |
Add a new function "try_get_value" | |||
2015-09-01 | Add a new function "try_get_value" | Dmitry Ilyin | |
* Extracts a value from a deeply-nested data structure * Returns default if a value could not be extracted |