summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-29(MODULES-3543) Fix define_with_params to handle undef properlyDavid Schmitt
As described in PUP-6422, ensure_resources('File[/tmp/a]', { owner => undef }) would not actually create the file. This fixes it, and adds tests to prove it.
2016-06-29Merge pull request #610 from bmjen/modules-3507Hunter Haugen
(MODULES-3507) Updates file_line path validation
2016-06-29Merge pull request #612 from puppetlabs/modulesyncDavid Schmitt
{maint} modulesync 0794b2c
2016-06-29{maint} modulesync 0794b2ctphoney
2016-06-28(MODULES-3507) Updates file_line path validationBryan Jen
2016-06-28{maint} modulesync changes for puppet-lint 2.0.0tphoney
2016-05-16Merge pull request #605 from jyaworski/delete_optional_paramJT (Jonny)
Add delete_regex
2016-05-13Add a delete_regex functionJoseph Yaworski
To maintain backwards compatibility, add a delete_regex function instead of modifying delete itself.
2016-05-12Merge pull request #600 from dmitryilyin/masterBryan Jen
Add the default value to the "loadyaml" function
2016-05-11Merge pull request #606 from stbenjam/MODULES-3354Hunter Haugen
(MODULES-3354) Use 1.8.7 hash in validate_email_address function
2016-05-11Merge pull request #604 from rjw1/patch-1Hunter Haugen
Add a missing s in the ensure_packages hash example
2016-05-11(MODULES-3354) Use 1.8.7 hash in validate_email_address functionStephen Benjamin
2016-05-11Add a missing s in the ensure_packages hash examplebob
2016-05-05Merge pull request #601 from petems/MODULES-1439-any2bool_addedBryan Jen
(MODULES-1439) Adds any2bool function
2016-05-04Merge pull request #592 from jyaworski/fix_deleteBryan Jen
Use reject instead of delete_if
2016-05-04Use reject instead of delete_ifJoseph Yaworski
2016-05-03Merge pull request #603 from puppetlabs/4.12.xBryan Jen
Mergeback 4.12.x
2016-05-02(MODULES-1439) Adds any2bool functionPeter Souter
* Basically a combination of `string2bool` and `num2bool`
2016-04-28Expose the functions of ruby's built-in Shellwords module (#580)Joris
* Add shell_escape function, shell_join function & shell_split function
2016-04-28Merge pull request #602 from hunner/unbreaklineJean B
Remove hard linebreaks
2016-04-27Remove hard linebreaksHunter Haugen
2016-04-26Add the default value to the "loadyaml" functionDmitry Ilyin
This value will be returned if the is no file to load or a file could not be parsed. It's similar to the "parseyaml" function's default value. Add the "loadjson" function too
2016-04-26Merge pull request #599 from hunner/fix_deleteHelen
Undo changing delete() to delete regex matches
2016-04-25Remove todo for delete() and update specHunter Haugen
This spec should verify that substring matches are not removed in the future
2016-04-25Revert "Add support for regular expressions to delete"Hunter Haugen
This reverts commit 0d46515b57cea60d4d5f1e4d81a75a448a7a73a8. It introduced backwards-incompatible functionality.
2016-04-19Merge pull request #593 from puppetlabs/update-msyncGreg Hardy
Update to newest modulesync_configs [9ca280f]
2016-04-18Update to newest modulesync_configs [9ca280f]David Schmitt
2016-04-18Merge pull request #598 from DavidS/MODULES-3271-legacy-rubyHelen
(MODULES-3271) Ensure that is_email_address works on unsupported rubies
2016-04-18(MODULES-3271) Ensure that is_email_address works on unsupported rubiesDavid Schmitt
2016-04-15Merge pull request #596 from tphoney/4.12.0_release_prepHelen
4.12.0 release prep
2016-04-154.12.0 release preptphoney
2016-04-15Merge pull request #595 from tphoney/4.12.0_releaseHelen
master to 4.12.x
2016-04-15(FM-5000) Release prep for 4.12.0.Bryan Jen
2016-04-12Merge pull request #591 from jyaworski/delete_regexHunter Haugen
Add support for regular expressions to delete
2016-04-12Add support for regular expressions to deleteJoseph Yaworski
2016-04-11Merge pull request #590 from alext/fix_concat_with_hashHunter Haugen
(MODULES-3246) Fix concat with Hash arguments.
2016-04-11Merge pull request #583 from jyaworski/validate_email_addressTP Honey
Add validate_email_address function
2016-04-10Add validate_email_address functionJoseph Yaworski
2016-04-08(MODULES-3246) Fix concat with Hash arguments.Alex Tomlins
85d5ead Updated the concat function so that it wouldn't modify the original array. A side-effect of this change is that it now always calls `Array()` on the second argument. If thit is a Hash, this results in `to_a` being called on the hash, which converts it to an array or tuples. This is undesired. Update the behaviour so that it doesn't (indirectly) call `to_a` on anything, instead test for the type of the argument, wrapping it in an array if it's not already an array.
2016-04-07Merge pull request #585 from ↵Hunter Haugen
jearls/MODULES-2370-update-validate-to-not-require-line-when-matching-for-absence [MODULES-2370] file_line.rb: Fix `line` attribute validation
2016-04-07Merge pull request #582 from derekmceachern/bug/master/spec_test_typoHunter Haugen
MODULES-3201 - Fixed typo 'absense' to 'absence'
2016-04-07Merge pull request #589 from puppetlabs/modulesync-updateTP Honey
Multiple updates to stdlib and its testsuite
2016-04-07(maint) also catch Psych::SyntaxErrorDavid Schmitt
Psych::SyntaxError is a RuntimeException. This still needs to catch that. This was uncovered by the recent move to catch StandardError rather than the catchall Exception that was here before.
2016-04-07(maint) remove failing testDavid Schmitt
This removes the failing test special casing for puppet 4.
2016-04-07(maint) Update to current modulesync_configs [953280c]David Schmitt
This removes much of the assorted cruft that accumulated in the unmanaged files and moves the remaining necessary parts to spec_helper_local.
2016-03-29Merge pull request #586 from ffrank/dont_catch_exceptionBryan Jen
catch StandardError rather than the gratuitous Exception
2016-03-28Merge pull request #587 from bmjen/4.12.0_prepHunter Haugen
(FM-5000) Release prep for 4.12.0.
2016-03-28(FM-5000) Release prep for 4.12.0.Bryan Jen
2016-03-29catch StandardError rather than the gratuitous ExceptionFelix Frank
2016-03-28[MODULES-2370] file_line.rb: Fix `line` attribute validationJohnson Earls
`file_line` type: During validation, do not require `line` attribute if: * `ensure` is `absent`, * `match` is not empty, * and `match_for_absence` is `true`. Also update `spec` tests to reflect this.