summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-21Merge pull request #561 from DavidS/fix-package_providerTP Honey
Allow package_provider fact to resolve on PE 3.x
2015-12-18Allow package_provider fact to resolve on PE 3.xDavid Schmitt
PE 3.x emits a puppetversion fact in the format "3.x.x (Puppet Enterprise 3.x.x)". This fact causes an error when invoked on PE 3.x: Could not retrieve fact='package_provider', resolution='<anonymous>': Malformed version number string 3.8.1 (Puppet Enterprise 3.8.1 This fix has been tested on PE 3.8.2 and should work for PE 3.3, 3.7, and 3.8. Original-fix-by: Alex Harden <aharden@gmail.com>
2015-12-17Merge pull request #559 from DavidS/fm-3802-fix-ensure_resource-testTP Honey
(FM-3802) make ensure_resource test of packages
2015-12-17(FM-3802) make ensure_resource test of packagesDavid Schmitt
This ensures that the test passes independently of changes to rubygems.
2015-12-15refactors the validate_absolute_path to utilize the is_absolute_pathCorey Osman
2015-12-15adds new parser called is_absolute_pathCorey Osman
* is_absolute_path returns boolean true if the given path is absolute, returns false otherwise. * works for windows and unix
2015-12-15Merge pull request #558 from puppetlabs/4.10.xJesse Lovelace
4.10.x mergeback
2015-12-14Merge pull request #557 from jbondpdx/4.10.xBryan Jen
edits to README
2015-12-14more carriage returnsjbondpdx
2015-12-14more carriage returns, nojbondpdx
2015-12-14removing mid-line carriage returnsjbondpdx
2015-12-14edits to READMEjbondpdx
2015-12-11Merge pull request #556 from HelenCampbell/4.10.0_prepBryan Jen
Changelog and versionbump for 4.10.0
2015-12-11Changelog and versionbump for 4.10.0Helen Campbell
2015-12-10Merge pull request #554 from kjetilho/ticket/2886-seeded_randBryan Jen
(#2886) seeded_rand: new function
2015-12-08Merge pull request #555 from puppetlabs/4.9.xTP Honey
4.9.x Mergeback
2015-12-08(#2886) seeded_rand: new functionKjetil Torgrim Homme
seeded_rand is needed for repeatable randomness across nodes in a cluster
2015-11-30Merge pull request #546 from jdevesa/validate_ipBryan Jen
Add validator for any IP address
2015-11-30Add validator for any IP addressJaume Devesa
Provide a validator for IP addresses, regardless they are IPv4 or IPv6, and its documentation.
2015-11-24Merge pull request #550 from tphoney/release_4.9.1Bryan Jen
4.9.1 release prep
2015-11-244.9.1 release preptphoney
2015-11-24Merge pull request #551 from mattbostock/fix_ipv4_docDavid Schmitt
Fix reference to validate_bool in IP4 function
2015-11-23Fix reference to validate_bool in IP4 functionMatt Bostock
The documentation in `validate_ipv4_address` references `validate_bool`, but I believe this should read `validate_ipv4_address` instead, which makes more sense.
2015-11-20Merge pull request #548 from bmjen/ruby187Hunter Haugen
Fix Gemfile to work with ruby 1.8.7
2015-11-20Fix Gemfile to work with ruby 1.8.7Bryan Jen
2015-11-20Merge pull request #543 from ghoneycutt/patch-2Bryan Jen
Use absolute class name in example
2015-11-20Merge pull request #547 from reidmv/fm_3773Bryan Jen
(FM-3773) Fix root_home fact on AIX 5.x
2015-11-19(FM-3773) Fix root_home fact on AIX 5.xReid Vandewiele
The -C (capital C) flag to lsuser is incorrect. It should be -c (lowercase). this commit updates the aix root_home fact to use `lsuser -c`, rather than `lsuser -C`.
2015-11-09Merge pull request #544 from HelenCampbell/readmeadditionDavid Schmitt
pick_default addition to readme
2015-11-09pick_default addition to readmeHelen Campbell
2015-11-06Use absolute class name in exampleGarrett Honeycutt
2015-11-06Merge pull request #542 from greg0ire/patch-1Helen
use properly encoded characters
2015-11-03use properly encoded charactersGré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-28Merge pull request #541 from mattflaschen/patch-1David Schmitt
Fix capitalize docs
2015-10-27Fix capitalize docsMatt Flaschen
Capitalize lower-cases the remaining characters (due to the Ruby function having this behavior); document this, and make minor wording tweaks.
2015-10-23Merge pull request #540 from marrero984/update_str2bool_readmeDavid Schmitt
(#2183) updated str2bool readme wording
2015-10-22(#2183) updated str2bool readme wordingmarrero984
2015-10-16Merge pull request #538 from mmckinst/bool2str_enhanceDavid Schmitt
add functionality to bool2str function
2015-10-15add functionality to bool2str to return strings of your choice for a booleanMark McKinstry
2015-10-15Merge pull request #539 from mentat/MODULES-2696Hunter Haugen
Add check to ensure regex does not throw for none type.
2015-10-15Add 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-15Merge pull request #537 from cmurphy/fix_load_module_metadataDavid Schmitt
Fix load module metadata
2015-10-14Let load_module_metadata succeed on empty fileColleen 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-14Rename load_module_metadata test pathColleen 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-14Merge pull request #536 from DavidS/improve-file_line-docsTP Honey
(MODULES-2421) improve description of file_line
2015-10-13(MODULES-2421) improve description of file_lineDavid Schmitt
This mostly needed extraction of the existing doc strings from the type.
2015-10-13Merge pull request #535 from martinpfeifer/package_provider_factDavid Schmitt
prevent deprecation warning about the allow_virtual parameter
2015-10-13prevent deprecation warning about the allow_virtual parameterMartin Pfeifer
2015-10-01Merge pull request #534 from asasfu/feature/package_provider_factBryan Jen
Add package_provider fact
2015-09-28Merge pull request #533 from HelenCampbell/MODULES-2614-ImprovedDavid Schmitt
Modules 2614 improved numeric value handling on empty function