]> gitweb.fluxo.info Git - puppet-stdlib.git/log
puppet-stdlib.git
10 years agoMerge pull request #538 from mmckinst/bool2str_enhance
David Schmitt [Fri, 16 Oct 2015 08:31:01 +0000 (09:31 +0100)]
Merge pull request #538 from mmckinst/bool2str_enhance

add functionality to bool2str function

10 years agoadd functionality to bool2str to return strings of your choice for a boolean
Mark McKinstry [Fri, 16 Oct 2015 02:22:10 +0000 (22:22 -0400)]
add functionality to bool2str to return strings of your choice for a boolean

10 years agoMerge pull request #539 from mentat/MODULES-2696
Hunter Haugen [Thu, 15 Oct 2015 17:23:02 +0000 (10:23 -0700)]
Merge pull request #539 from mentat/MODULES-2696

Add check to ensure regex does not throw for none type.

10 years agoAdd check to ensure regex does not throw for none type.
Jesse Lovelace [Thu, 15 Oct 2015 16:25:57 +0000 (11:25 -0500)]
Add check to ensure regex does not throw for none type.

Add a quick check to ensure puppetversion value is not nil and supporting test.

10 years agoMerge pull request #537 from cmurphy/fix_load_module_metadata
David Schmitt [Thu, 15 Oct 2015 08:44:12 +0000 (09:44 +0100)]
Merge pull request #537 from cmurphy/fix_load_module_metadata

Fix load module metadata

10 years agoLet load_module_metadata succeed on empty file
Colleen Murphy [Wed, 14 Oct 2015 23:09:05 +0000 (16:09 -0700)]
Let load_module_metadata succeed on empty file

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.

10 years agoRename load_module_metadata test path
Colleen Murphy [Wed, 14 Oct 2015 22:59:09 +0000 (15:59 -0700)]
Rename load_module_metadata test path

`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.

10 years agoMerge pull request #536 from DavidS/improve-file_line-docs
TP Honey [Wed, 14 Oct 2015 11:46:19 +0000 (12:46 +0100)]
Merge pull request #536 from DavidS/improve-file_line-docs

(MODULES-2421) improve description of file_line

10 years ago(MODULES-2421) improve description of file_line
David Schmitt [Tue, 13 Oct 2015 14:02:04 +0000 (15:02 +0100)]
(MODULES-2421) improve description of file_line

This mostly needed extraction of the existing doc strings from
the type.

10 years agoMerge pull request #535 from martinpfeifer/package_provider_fact
David Schmitt [Tue, 13 Oct 2015 09:18:59 +0000 (10:18 +0100)]
Merge pull request #535 from martinpfeifer/package_provider_fact

prevent deprecation warning about the allow_virtual parameter

10 years agoprevent deprecation warning about the allow_virtual parameter
Martin Pfeifer [Tue, 13 Oct 2015 08:08:01 +0000 (10:08 +0200)]
prevent deprecation warning about the allow_virtual parameter

10 years agoMerge pull request #534 from asasfu/feature/package_provider_fact
Bryan Jen [Thu, 1 Oct 2015 17:27:51 +0000 (10:27 -0700)]
Merge pull request #534 from asasfu/feature/package_provider_fact

Add package_provider fact

10 years agoMerge pull request #533 from HelenCampbell/MODULES-2614-Improved
David Schmitt [Mon, 28 Sep 2015 16:11:10 +0000 (17:11 +0100)]
Merge pull request #533 from HelenCampbell/MODULES-2614-Improved

Modules 2614 improved numeric value handling on empty function

10 years agoAdded acceptance test and updated readme
Helen Campbell [Mon, 28 Sep 2015 15:18:56 +0000 (16:18 +0100)]
Added acceptance test and updated readme

10 years agoCheck for numeric values as empty fails on those
Roman Mueller [Tue, 22 Sep 2015 16:05:37 +0000 (18:05 +0200)]
Check for numeric values as empty fails on those

10 years agoMerge pull request #532 from DavidS/fix-is_a-readme
Helen [Mon, 28 Sep 2015 10:16:28 +0000 (11:16 +0100)]
Merge pull request #532 from DavidS/fix-is_a-readme

(FM-3701) Update README for is_a

10 years ago(FM-3701) Update README for is_a
David Schmitt [Mon, 28 Sep 2015 10:12:25 +0000 (11:12 +0100)]
(FM-3701) Update README for is_a

10 years agoMerge pull request #531 from asasfu/improvement/service_provider_fact
David Schmitt [Mon, 28 Sep 2015 09:09:17 +0000 (10:09 +0100)]
Merge pull request #531 from asasfu/improvement/service_provider_fact

fixup-PR#506 Speed improvements in facter resolution

10 years agofixup-PR#506 Speed improvements in facter resolution
Adam S [Sat, 26 Sep 2015 00:58:05 +0000 (17:58 -0700)]
fixup-PR#506 Speed improvements in facter resolution

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.

10 years agoAdd package_provider fact
Adam S [Sat, 26 Sep 2015 00:55:21 +0000 (17:55 -0700)]
Add package_provider fact

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.

10 years agoMerge pull request #506 from binford2k/feature/service_provider_fact
Hunter Haugen [Thu, 24 Sep 2015 17:55:39 +0000 (10:55 -0700)]
Merge pull request #506 from binford2k/feature/service_provider_fact

Add a service_provider fact

10 years agoMerge pull request #530 from HelenCampbell/MODULES-2614
David Schmitt [Wed, 23 Sep 2015 10:38:53 +0000 (11:38 +0100)]
Merge pull request #530 from HelenCampbell/MODULES-2614

Adding update to empty function readme

10 years agoAdding update to empty function readme
Helen Campbell [Wed, 23 Sep 2015 10:27:48 +0000 (11:27 +0100)]
Adding update to empty function readme

10 years agoMerge pull request #528 from mhaskel/is_a_fixes
Bryan Jen [Mon, 21 Sep 2015 23:33:22 +0000 (16:33 -0700)]
Merge pull request #528 from mhaskel/is_a_fixes

Update is_a acceptance tests to only run on puppet4

10 years agoUpdate is_a acceptance tests to only run on puppet4
Morgan Haskel [Mon, 21 Sep 2015 21:12:25 +0000 (14:12 -0700)]
Update is_a acceptance tests to only run on puppet4

10 years agoMerge pull request #527 from mhaskel/511_compatibility
Bryan Jen [Mon, 21 Sep 2015 18:20:35 +0000 (11:20 -0700)]
Merge pull request #527 from mhaskel/511_compatibility

Fix backwards compatibility from #511

10 years agoFix backwards compatibility from #511
Morgan Haskel [Mon, 21 Sep 2015 17:56:08 +0000 (10:56 -0700)]
Fix backwards compatibility from #511

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.

10 years agoMerge pull request #526 from DavidS/improve-validate_re-docs
Hunter Haugen [Thu, 17 Sep 2015 19:12:12 +0000 (12:12 -0700)]
Merge pull request #526 from DavidS/improve-validate_re-docs

(MAINT) validate_re: Clarify docs and error message

10 years ago(MAINT) validate_re: Clarify docs and error message
David Schmitt [Thu, 17 Sep 2015 17:48:32 +0000 (18:48 +0100)]
(MAINT) validate_re: Clarify docs and error message

10 years agoMerge pull request #524 from binford2k/docs/intersection_truthiness
David Schmitt [Mon, 14 Sep 2015 18:36:56 +0000 (19:36 +0100)]
Merge pull request #524 from binford2k/docs/intersection_truthiness

Clarify what an empty intersection looks like.

10 years agoClarify what an empty intersection looks like.
Ben Ford [Mon, 14 Sep 2015 18:25:38 +0000 (11:25 -0700)]
Clarify what an empty intersection looks like.

10 years agoMerge pull request #523 from DavidS/modules-2516-is_a
Bryan Jen [Mon, 14 Sep 2015 17:49:50 +0000 (10:49 -0700)]
Merge pull request #523 from DavidS/modules-2516-is_a

(MODULES-2561) add is_a function

10 years agoMerge pull request #511 from dmitryilyin/parseyaml_default
Bryan Jen [Mon, 14 Sep 2015 17:40:35 +0000 (10:40 -0700)]
Merge pull request #511 from dmitryilyin/parseyaml_default

[MODULES-2462] Improve parseyaml function

10 years ago(MODULES-2516) Adds an is_a() function
David Schmitt [Mon, 14 Sep 2015 17:26:25 +0000 (18:26 +0100)]
(MODULES-2516) Adds an is_a() function

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

10 years agoMerge pull request #518 from logicminds/case_insensitive
TP Honey [Wed, 9 Sep 2015 10:20:18 +0000 (11:20 +0100)]
Merge pull request #518 from logicminds/case_insensitive

accept any case of boolean strings

10 years agoMerge pull request #519 from dmitryilyin/fetch
TP Honey [Tue, 8 Sep 2015 10:15:45 +0000 (11:15 +0100)]
Merge pull request #519 from dmitryilyin/fetch

[MAINT] Improve 'try_get_value' readme

10 years ago[MAINT] Improve 'try_get_value' readme
Dmitry Ilyin [Fri, 4 Sep 2015 16:12:21 +0000 (19:12 +0300)]
[MAINT] Improve 'try_get_value' readme

10 years agoaccept any case of boolean strings
Corey Osman [Thu, 3 Sep 2015 17:31:51 +0000 (10:31 -0700)]
accept any case of boolean strings

  * 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.

10 years agoMerge pull request #517 from DavidS/try_get_value-acceptance
TP Honey [Wed, 2 Sep 2015 12:42:11 +0000 (13:42 +0100)]
Merge pull request #517 from DavidS/try_get_value-acceptance

(MAINT) fix up try_get_value acceptance test

10 years ago(MAINT) fix up try_get_value acceptance test
David Schmitt [Wed, 2 Sep 2015 12:34:15 +0000 (13:34 +0100)]
(MAINT) fix up try_get_value acceptance test

10 years agoMerge pull request #513 from dmitryilyin/fetch
David Schmitt [Wed, 2 Sep 2015 08:23:46 +0000 (09:23 +0100)]
Merge pull request #513 from dmitryilyin/fetch

Add a new function "try_get_value"

10 years agoAdd a new function "try_get_value"
Dmitry Ilyin [Tue, 1 Sep 2015 18:39:16 +0000 (21:39 +0300)]
Add a new function "try_get_value"

* Extracts a value from a deeply-nested data structure
* Returns default if a value could not be extracted

10 years agoMerge pull request #515 from jfautley/ticket/MODULES-2478-support_root_home_fact_on_AIX
David Schmitt [Tue, 1 Sep 2015 07:31:31 +0000 (08:31 +0100)]
Merge pull request #515 from jfautley/ticket/MODULES-2478-support_root_home_fact_on_AIX

(MODULES-2478) Make root_home fact work on AIX using native lsuser command

10 years ago(MODULES-2478) Support root_home fact on AIX through "lsuser" command
Jon Fautley [Thu, 27 Aug 2015 13:53:02 +0000 (14:53 +0100)]
(MODULES-2478) Support root_home fact on AIX through "lsuser" command

Squashed, and amended test for comment lines.

10 years agoMerge pull request #514 from DavidS/add-convert_base
TP Honey [Thu, 27 Aug 2015 09:50:29 +0000 (10:50 +0100)]
Merge pull request #514 from DavidS/add-convert_base

Adds a convert_base function, which can convert numbers between bases

10 years agoAdds a convert_base function, which can convert numbers between bases
fhats [Thu, 27 Aug 2015 09:40:20 +0000 (10:40 +0100)]
Adds a convert_base function, which can convert numbers between bases

Squashed, improved docs, updated error handling and unit tests by David S.

10 years ago[MODULES-2462] Improve parseyaml function
Dmitry Ilyin [Mon, 24 Aug 2015 19:00:18 +0000 (22:00 +0300)]
[MODULES-2462] Improve parseyaml function

* Add default value support
  Second argument will be returned if yaml cannot be parsed
  instead of false value
* Update tests

10 years agoMerge pull request #512 from Jetroid/consistentreadme
David Schmitt [Tue, 25 Aug 2015 09:51:39 +0000 (10:51 +0100)]
Merge pull request #512 from Jetroid/consistentreadme

Consistent Readme

10 years agoAdd consistent *Type* information
Jetroid [Tue, 25 Aug 2015 09:35:57 +0000 (10:35 +0100)]
Add consistent *Type* information

Remove trailing whitespace

Two functions had not been given any *Type* information. This commit fixes that.

10 years agoMerge pull request #510 from DavidS/base64-unit-tests
Morgan Haskel [Mon, 24 Aug 2015 20:47:24 +0000 (13:47 -0700)]
Merge pull request #510 from DavidS/base64-unit-tests

(MAINT) improve base64 unit tests

10 years ago(MAINT) improve base64 unit tests
David Schmitt [Mon, 24 Aug 2015 19:12:14 +0000 (20:12 +0100)]
(MAINT) improve base64 unit tests

10 years agoMerge pull request #507 from Jetroid/mod2456
David Schmitt [Mon, 24 Aug 2015 13:36:20 +0000 (14:36 +0100)]
Merge pull request #507 from Jetroid/mod2456

(MODULES-2456) Modify union to accept more than two arrays

10 years ago(MODULE-2456) Modify union to accept more than two arrays
Jetroid [Mon, 24 Aug 2015 11:01:29 +0000 (12:01 +0100)]
(MODULE-2456) Modify union to accept more than two arrays

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.

10 years agoAdd a service_provider fact
Ben Ford [Wed, 19 Aug 2015 15:31:36 +0000 (08:31 -0700)]
Add a service_provider fact

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>
10 years agoMerge pull request #505 from gibbsoft/dos2unix
David Schmitt [Fri, 14 Aug 2015 12:51:51 +0000 (13:51 +0100)]
Merge pull request #505 from gibbsoft/dos2unix

(MODULES-2410) Add new functions dos2unix and unix2dos

10 years ago(MODULES-2410) Add new functions dos2unix and unix2dos
Nigel Gibbs [Fri, 14 Aug 2015 08:33:46 +0000 (09:33 +0100)]
(MODULES-2410) Add new functions dos2unix and unix2dos

10 years agoMerge pull request #499 from jearls/2370-use-match-for-ensure-absent
Bryan Jen [Thu, 13 Aug 2015 17:14:13 +0000 (10:14 -0700)]
Merge pull request #499 from jearls/2370-use-match-for-ensure-absent

[MODULES-2370] allow `match` parameter to influence `ensure => absent` behavior.

10 years agoMerge pull request #503 from puppetlabs/4.8.x
Morgan Haskel [Wed, 12 Aug 2015 21:33:07 +0000 (14:33 -0700)]
Merge pull request #503 from puppetlabs/4.8.x

Mergeback 4.8.x

10 years agoAdd puppet_version back to spec_helper
Hunter Haugen [Wed, 12 Aug 2015 02:52:43 +0000 (19:52 -0700)]
Add puppet_version back to spec_helper

10 years agoMerge pull request #502 from hunner/fix_after
Morgan Haskel [Tue, 11 Aug 2015 23:23:52 +0000 (16:23 -0700)]
Merge pull request #502 from hunner/fix_after

Sometimes this exits 1

10 years agoSometimes this exits 1
Hunter Haugen [Tue, 11 Aug 2015 23:23:06 +0000 (16:23 -0700)]
Sometimes this exits 1

10 years agoMerge pull request #501 from hunner/bug_helper
TP Honey [Tue, 11 Aug 2015 15:43:58 +0000 (16:43 +0100)]
Merge pull request #501 from hunner/bug_helper

Fix extraneous end

10 years agoFix extraneous end
Hunter Haugen [Tue, 11 Aug 2015 15:29:48 +0000 (08:29 -0700)]
Fix extraneous end

10 years agoMerge pull request #500 from hunner/prep_4.8.0
Bryan Jen [Mon, 10 Aug 2015 23:48:57 +0000 (16:48 -0700)]
Merge pull request #500 from hunner/prep_4.8.0

Prep 4.8.0

10 years agoPrep 4.8.0
Hunter Haugen [Mon, 10 Aug 2015 23:15:54 +0000 (16:15 -0700)]
Prep 4.8.0

10 years agoallow `match` parameter to influence `ensure => absent` behavior.
Johnson Earls [Thu, 6 Aug 2015 20:00:11 +0000 (13:00 -0700)]
allow `match` parameter to influence `ensure => absent` behavior.

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`).

10 years agoMerge pull request #497 from domcleal/tickets/master/MODULES-2316
Bryan Jen [Thu, 6 Aug 2015 18:00:17 +0000 (11:00 -0700)]
Merge pull request #497 from domcleal/tickets/master/MODULES-2316

(MODULES-2316) Change file_type boolean parameter to symbols

10 years ago(MODULES-2316) Change file_type boolean parameter to symbols
Dominic Cleal [Tue, 4 Aug 2015 08:59:53 +0000 (09:59 +0100)]
(MODULES-2316) Change file_type boolean parameter to symbols

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.

10 years agoMerge pull request #483 from nibalizer/load_metadata_json
Hunter Haugen [Fri, 31 Jul 2015 21:12:56 +0000 (14:12 -0700)]
Merge pull request #483 from nibalizer/load_metadata_json

Add load_metadata_json function

10 years agoAdd load_metadata_json function
Spencer Krum [Thu, 9 Jul 2015 17:53:56 +0000 (10:53 -0700)]
Add load_metadata_json function

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?

10 years agoMerge pull request #496 from pizzaops/master
Hunter Haugen [Thu, 30 Jul 2015 22:14:23 +0000 (15:14 -0700)]
Merge pull request #496 from pizzaops/master

Remove colorful language from module.

10 years agoRemove colorful language from module.
Zee Alexander [Thu, 30 Jul 2015 22:11:26 +0000 (15:11 -0700)]
Remove colorful language from module.

10 years agoMerge pull request #494 from CENGN/fix/master/file_line_replace
Bryan Jen [Thu, 30 Jul 2015 20:34:26 +0000 (13:34 -0700)]
Merge pull request #494 from CENGN/fix/master/file_line_replace

[#puppethack] Adding replace attribute to file_line

10 years agoMerge pull request #495 from puppetlabs/4.7.x
Bryan Jen [Thu, 30 Jul 2015 20:33:44 +0000 (13:33 -0700)]
Merge pull request #495 from puppetlabs/4.7.x

4.7.x

10 years ago(MODULES-2024) Adding replace attribute to file_line
Raymond Maika [Thu, 30 Jul 2015 18:05:39 +0000 (14:05 -0400)]
(MODULES-2024) Adding replace attribute to file_line

10 years agoMerge pull request #493 from DavidS/fixup-acceptance-testing
TP Honey [Thu, 30 Jul 2015 10:12:01 +0000 (11:12 +0100)]
Merge pull request #493 from DavidS/fixup-acceptance-testing

(maint) use puppet's utility function instead of API that's not avail…

10 years ago(maint) use puppet's utility function instead of API that's not available on all...
David Schmitt [Thu, 30 Jul 2015 09:46:38 +0000 (10:46 +0100)]
(maint) use puppet's utility function instead of API that's not available on all rubies

10 years agoMerge pull request #492 from DavidS/fixup-acceptance-testing
Hunter Haugen [Wed, 29 Jul 2015 17:58:41 +0000 (10:58 -0700)]
Merge pull request #492 from DavidS/fixup-acceptance-testing

Fixup acceptance testing

10 years agoMerge pull request #491 from ekohl/style-fixes
David Schmitt [Mon, 27 Jul 2015 08:49:04 +0000 (09:49 +0100)]
Merge pull request #491 from ekohl/style-fixes

Style fixes

10 years agoStyle fixes
Ewoud Kohl van Wijngaarden [Sat, 25 Jul 2015 11:34:31 +0000 (13:34 +0200)]
Style fixes

10 years ago(main) clean up fqdn_rand acceptance tests to work on windows
David Schmitt [Wed, 22 Jul 2015 16:30:39 +0000 (17:30 +0100)]
(main) clean up fqdn_rand acceptance tests to work on windows

10 years ago(maint) Remove failing acceptance test for ensure_packages
David Schmitt [Wed, 22 Jul 2015 11:21:31 +0000 (12:21 +0100)]
(maint) Remove failing acceptance test for ensure_packages

This only duplicates what's already being tested in ensure_packages_spec.rb
but doesn't work on all our supported platforms.

10 years agoMerge pull request #489 from gcmalloc/master
David Schmitt [Wed, 22 Jul 2015 10:57:16 +0000 (11:57 +0100)]
Merge pull request #489 from gcmalloc/master

adding support for hash in the size function

10 years agoadding support for hash in the size function
gcmalloc [Tue, 21 Jul 2015 17:25:27 +0000 (19:25 +0200)]
adding support for hash in the size function

10 years agoMerge pull request #490 from hunner/fix_specifier
Morgan Haskel [Tue, 21 Jul 2015 21:44:50 +0000 (14:44 -0700)]
Merge pull request #490 from hunner/fix_specifier

disable pw_hash test on sles, as it only supports md5

10 years agodisable pw_hash test on sles, as it only supports md5
Hunter Haugen [Tue, 21 Jul 2015 21:43:34 +0000 (14:43 -0700)]
disable pw_hash test on sles, as it only supports md5

10 years agoMerge pull request #487 from liv3d/fix_docs_in_upcase
David Schmitt [Tue, 21 Jul 2015 08:23:57 +0000 (09:23 +0100)]
Merge pull request #487 from liv3d/fix_docs_in_upcase

Fix documentation error in upcase

10 years agoMerge pull request #488 from cyberious/master
Hunter Haugen [Mon, 20 Jul 2015 23:28:57 +0000 (16:28 -0700)]
Merge pull request #488 from cyberious/master

(maint) Fix test to not assume is_pe fact on > 4.0.0 puppet

10 years ago(maint) Fix test to not assume is_pe fact on > 4.0.0 puppet
Travis Fields [Mon, 20 Jul 2015 21:35:57 +0000 (14:35 -0700)]
(maint) Fix test to not assume is_pe fact on > 4.0.0 puppet

10 years agoFix documentation error in upcase
Dan Offord [Mon, 20 Jul 2015 16:55:52 +0000 (17:55 +0100)]
Fix documentation error in upcase

The documentation example shows an incorrect response when using the
function, this PR corrects the example to agree with what the function
actually does.

10 years agoMerge pull request #481 from tphoney/release_4.7.0
David Schmitt [Wed, 15 Jul 2015 13:12:46 +0000 (14:12 +0100)]
Merge pull request #481 from tphoney/release_4.7.0

prep work for 4.7.0

10 years agoprep work for 4.7.0
tphoney [Thu, 9 Jul 2015 14:13:00 +0000 (15:13 +0100)]
prep work for 4.7.0

add new improvements

puppet4 changes for testing

10 years agoMerge pull request #485 from ghoneycutt/patch-2
David Schmitt [Tue, 14 Jul 2015 08:47:22 +0000 (09:47 +0100)]
Merge pull request #485 from ghoneycutt/patch-2

Clarify that third argument to ensure_resource() is a hash

10 years agoClarify that third argument to ensure_resource() is a hash
Garrett Honeycutt [Mon, 13 Jul 2015 00:11:36 +0000 (20:11 -0400)]
Clarify that third argument to ensure_resource() is a hash

10 years agoMerge pull request #484 from mhaskel/use_puppet_install_helper
TP Honey [Fri, 10 Jul 2015 16:17:09 +0000 (17:17 +0100)]
Merge pull request #484 from mhaskel/use_puppet_install_helper

Use puppet_install_helper

10 years agoUse puppet_install_helper
Morgan Haskel [Fri, 10 Jul 2015 00:11:10 +0000 (17:11 -0700)]
Use puppet_install_helper

10 years agoMerge pull request #475 from DavidS/document-puppet4-compat
TP Honey [Thu, 9 Jul 2015 17:30:26 +0000 (18:30 +0100)]
Merge pull request #475 from DavidS/document-puppet4-compat

Document puppet 4 compatability in 4.6

10 years agoMerge pull request #482 from DavidS/document_validate_slength_3rd_arg
Morgan Haskel [Thu, 9 Jul 2015 17:20:37 +0000 (10:20 -0700)]
Merge pull request #482 from DavidS/document_validate_slength_3rd_arg

Add validate_slength's optional 3rd arg to README

10 years agoMerge pull request #479 from mklette/master
Hunter Haugen [Thu, 9 Jul 2015 17:20:01 +0000 (10:20 -0700)]
Merge pull request #479 from mklette/master

catch and rescue from looking up non-existent facts

10 years agoAdd validate_slength's optional 3rd arg to README
Alexander Fisher [Mon, 6 Jul 2015 16:03:49 +0000 (17:03 +0100)]
Add validate_slength's optional 3rd arg to README