summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-27Adds a convert_base function, which can convert numbers between basesfhats
Squashed, improved docs, updated error handling and unit tests by David S.
2015-08-25[MODULES-2462] Improve parseyaml functionDmitry Ilyin
* Add default value support Second argument will be returned if yaml cannot be parsed instead of false value * Update tests
2015-08-25Merge pull request #512 from Jetroid/consistentreadmeDavid Schmitt
Consistent Readme
2015-08-25Add consistent *Type* informationJetroid
Remove trailing whitespace Two functions had not been given any *Type* information. This commit fixes that.
2015-08-24Merge pull request #510 from DavidS/base64-unit-testsMorgan Haskel
(MAINT) improve base64 unit tests
2015-08-24(MAINT) improve base64 unit testsDavid Schmitt
2015-08-24Merge pull request #507 from Jetroid/mod2456David Schmitt
(MODULES-2456) Modify union to accept more than two arrays
2015-08-24(MODULE-2456) Modify union to accept more than two arraysJetroid
Add spec tests to test the new functionality: *Case for 3 arrays. *Case for 4 arrays. Modify README to note new functionality. This is for issue MODULE-2456, follow the precedent of MODULE-444. This change allows union to be much more useful, unioning many arrays in one line rather than in n lines. Additionally, as this is only added functionality, and does not affect the 2 array case that all modules currently using array are using, it should not affect any existing modules utilizing union. This is now useful, for example, for merging many arrays of resources (eg: packages.) to generate just one list with no duplicates, to avoid duplicate resource declarations.
2015-08-19Add a service_provider factBen Ford
This returns the default provider Puppet will choose to manage services on this system by instantiating a dummy service resource type and returning the provider chosen. Co-Authored-By: Simon Fraser University <asa188@sfu.ca>
2015-08-14Merge pull request #505 from gibbsoft/dos2unixDavid Schmitt
(MODULES-2410) Add new functions dos2unix and unix2dos
2015-08-14(MODULES-2410) Add new functions dos2unix and unix2dosNigel Gibbs
2015-08-13Merge pull request #499 from jearls/2370-use-match-for-ensure-absentBryan Jen
[MODULES-2370] allow `match` parameter to influence `ensure => absent` behavior.
2015-08-12Merge pull request #503 from puppetlabs/4.8.xMorgan Haskel
Mergeback 4.8.x
2015-08-11Add puppet_version back to spec_helperHunter Haugen
2015-08-11Merge pull request #502 from hunner/fix_afterMorgan Haskel
Sometimes this exits 1
2015-08-11Sometimes this exits 1Hunter Haugen
2015-08-11Merge pull request #501 from hunner/bug_helperTP Honey
Fix extraneous end
2015-08-11Fix extraneous endHunter Haugen
2015-08-10Merge pull request #500 from hunner/prep_4.8.0Bryan Jen
Prep 4.8.0
2015-08-10Prep 4.8.0Hunter Haugen
2015-08-06allow `match` parameter to influence `ensure => absent` behavior.Johnson Earls
Split the `destroy` method of the file_type::ruby provider into two private methods: `handle_destroy_line` which is the same as the previous `destroy` method, and `handle_destroy_with_match` which will destroy any line which matches the `match` parameter, raising an error if multiple lines match and the `multiple` parameter is not `true`. This new behavior is only used if the new boolean parameter `match_for_absence` is `true` (it defaults to `false`).
2015-08-06Merge pull request #497 from domcleal/tickets/master/MODULES-2316Bryan Jen
(MODULES-2316) Change file_type boolean parameter to symbols
2015-08-04(MODULES-2316) Change file_type boolean parameter to symbolsDominic Cleal
Puppet's boolean parameter type is only available in Puppet 3.3 and higher, so change file_type's new "replace" parameter to a regular parameter with true and false as possible values. This matches the existing "multiple" parameter.
2015-07-31Merge pull request #483 from nibalizer/load_metadata_jsonHunter Haugen
Add load_metadata_json function
2015-07-30Add load_metadata_json functionSpencer Krum
This function loads the metadata.json into a puppet variable. This enables a number of neat things such as: * Which version of the module am I using? 2.x? 3.x? * Which author of the module am I using? puppetlabs? example42?
2015-07-30Merge pull request #496 from pizzaops/masterHunter Haugen
Remove colorful language from module.
2015-07-30Remove colorful language from module.Zee Alexander
2015-07-30Merge pull request #494 from CENGN/fix/master/file_line_replaceBryan Jen
[#puppethack] Adding replace attribute to file_line
2015-07-30Merge pull request #495 from puppetlabs/4.7.xBryan Jen
4.7.x
2015-07-30(MODULES-2024) Adding replace attribute to file_lineRaymond Maika
2015-07-30Merge pull request #493 from DavidS/fixup-acceptance-testingTP Honey
(maint) use puppet's utility function instead of API that's not avail…
2015-07-30(maint) use puppet's utility function instead of API that's not available on ↵David Schmitt
all rubies
2015-07-29Merge pull request #492 from DavidS/fixup-acceptance-testingHunter Haugen
Fixup acceptance testing
2015-07-27Merge pull request #491 from ekohl/style-fixesDavid Schmitt
Style fixes
2015-07-25Style fixesEwoud Kohl van Wijngaarden
2015-07-22(main) clean up fqdn_rand acceptance tests to work on windowsDavid Schmitt
2015-07-22(maint) Remove failing acceptance test for ensure_packagesDavid Schmitt
This only duplicates what's already being tested in ensure_packages_spec.rb but doesn't work on all our supported platforms.
2015-07-22Merge pull request #489 from gcmalloc/masterDavid Schmitt
adding support for hash in the size function
2015-07-22adding support for hash in the size functiongcmalloc
2015-07-21Merge pull request #490 from hunner/fix_specifierMorgan Haskel
disable pw_hash test on sles, as it only supports md5
2015-07-21disable pw_hash test on sles, as it only supports md5Hunter Haugen
2015-07-21Merge pull request #487 from liv3d/fix_docs_in_upcaseDavid Schmitt
Fix documentation error in upcase
2015-07-20Merge pull request #488 from cyberious/masterHunter Haugen
(maint) Fix test to not assume is_pe fact on > 4.0.0 puppet
2015-07-20(maint) Fix test to not assume is_pe fact on > 4.0.0 puppetTravis Fields
2015-07-20Fix documentation error in upcaseDan Offord
The documentation example shows an incorrect response when using the function, this PR corrects the example to agree with what the function actually does.
2015-07-15Merge pull request #481 from tphoney/release_4.7.0David Schmitt
prep work for 4.7.0
2015-07-15prep work for 4.7.0tphoney
add new improvements puppet4 changes for testing
2015-07-14Merge pull request #485 from ghoneycutt/patch-2David Schmitt
Clarify that third argument to ensure_resource() is a hash
2015-07-12Clarify that third argument to ensure_resource() is a hashGarrett Honeycutt
2015-07-10Merge pull request #484 from mhaskel/use_puppet_install_helperTP Honey
Use puppet_install_helper