]> gitweb.fluxo.info Git - puppet-stdlib.git/log
puppet-stdlib.git
11 years agoClaim PE3.3 support.
Ashley Penney [Thu, 15 May 2014 18:59:37 +0000 (14:59 -0400)]
Claim PE3.3 support.

11 years agoPrepare a 4.3.0 release.
Ashley Penney [Wed, 14 May 2014 20:37:48 +0000 (16:37 -0400)]
Prepare a 4.3.0 release.

11 years agoMerge pull request #254 from apenney/421
Ashley Penney [Fri, 9 May 2014 23:15:17 +0000 (19:15 -0400)]
Merge pull request #254 from apenney/421

Prepare a 4.2.1 release.

11 years agoPrepare a 4.2.1 release.
Ashley Penney [Fri, 9 May 2014 14:57:32 +0000 (16:57 +0200)]
Prepare a 4.2.1 release.

11 years agoMerge pull request #252 from hunner/release_4.2.0
Ashley Penney [Thu, 8 May 2014 22:44:30 +0000 (18:44 -0400)]
Merge pull request #252 from hunner/release_4.2.0

Release - 4.2.0

11 years agoRelease - 4.2.0
Hunter Haugen [Thu, 8 May 2014 22:18:36 +0000 (15:18 -0700)]
Release - 4.2.0

Summary
========
This release adds many new functions and fixes, and continues to be backwards compatible with stdlib 3.x

Features
-------
- New `base64()` function
- New `deep_merge()` function
- New `delete_undef_values()` function
- New `delete_values()` function
- New `difference()` function
- New `intersection()` function
- New `is_bool()` function
- New `pick_default()` function
- New `union()` function
- New `validate_ipv4_address` function
- New `validate_ipv6_address` function
- Update `ensure_packages()` to take an option hash as a second parameter.
- Update `range()` to take an optional third argument for range step
- Update `validate_slength()` to take an optional third argument for minimum length
- Update `file_line` resource to take `after` and `multiple` attributes

Bugfixes
--------
- Correct `is_string`, `is_domain_name`, `is_array`, `is_float`, and `is_function_available` for parsing odd types such as bools and hashes.
- Allow facts.d facts to contain `=` in the value
- Fix `root_home` fact on darwin systems
- Fix `concat()` to work with a second non-array argument
- Fix `floor()` to work with integer strings
- Fix `is_integer()` to return true if passed integer strings
- Fix `is_numeric()` to return true if passed integer strings
- Fix `merge()` to work with empty strings
- Fix `pick()` to raise the correct error type
- Fix `uriescape()` to use the default URI.escape list
- Add/update unit & acceptance tests.

11 years agoMerge pull request #251 from hunner/fix_tests
Ashley Penney [Thu, 8 May 2014 22:16:05 +0000 (18:16 -0400)]
Merge pull request #251 from hunner/fix_tests

Fix the stdlib functions that fail tests

11 years agoFix the stdlib functions that fail tests
Hunter Haugen [Thu, 8 May 2014 21:43:06 +0000 (14:43 -0700)]
Fix the stdlib functions that fail tests

11 years agoMerge pull request #250 from hunner/move_unit
Ashley Penney [Thu, 8 May 2014 17:58:53 +0000 (13:58 -0400)]
Merge pull request #250 from hunner/move_unit

Move unit tests to spec/functions

11 years agoMove unit tests to spec/functions
Hunter Haugen [Thu, 8 May 2014 17:47:24 +0000 (10:47 -0700)]
Move unit tests to spec/functions

rspec-puppet matchers are defined for tests which exist in
spec/functions, but the function unit tests lived in
spec/unit/puppet/parser/functions. This moves them to the correct place
for using rspec-puppet

11 years agoMerge pull request #247 from hunner/more_tests
Ashley Penney [Wed, 7 May 2014 22:03:57 +0000 (18:03 -0400)]
Merge pull request #247 from hunner/more_tests

Adding more spec coverage

11 years agoAdd mode +x to spec .rb files
Hunter Haugen [Wed, 7 May 2014 17:09:32 +0000 (10:09 -0700)]
Add mode +x to spec .rb files

11 years agoMove the 4 misplaced tests
Hunter Haugen [Wed, 7 May 2014 17:09:21 +0000 (10:09 -0700)]
Move the 4 misplaced tests

11 years agoAdding more spec coverage
Hunter Haugen [Wed, 7 May 2014 01:48:59 +0000 (18:48 -0700)]
Adding more spec coverage

11 years agoMerge pull request #248 from averi/master
Hunter Haugen [Wed, 7 May 2014 16:53:30 +0000 (09:53 -0700)]
Merge pull request #248 from averi/master

Add the missing shebangs and fix the wrong ones

11 years agoAdd the missing shebangs and fix the wrong ones for rpmlint to stop complaining loudly
Andrea Veri [Wed, 7 May 2014 09:49:25 +0000 (11:49 +0200)]
Add the missing shebangs and fix the wrong ones for rpmlint to stop complaining loudly

11 years agoMerge pull request #246 from hunner/update_build_csv
Hunter Haugen [Fri, 2 May 2014 21:15:52 +0000 (14:15 -0700)]
Merge pull request #246 from hunner/update_build_csv

Update build_csv to understand contexts

11 years agoUpdate build_csv to understand contexts
Hunter Haugen [Fri, 2 May 2014 20:42:25 +0000 (13:42 -0700)]
Update build_csv to understand contexts

11 years agoMerge pull request #245 from hunner/fix_augeas
Hunter Haugen [Fri, 2 May 2014 19:57:04 +0000 (12:57 -0700)]
Merge pull request #245 from hunner/fix_augeas

Fix the validate_augeas beaker tests

11 years agoFix the validate_augeas beaker tests
Hunter Haugen [Fri, 2 May 2014 19:56:22 +0000 (12:56 -0700)]
Fix the validate_augeas beaker tests

11 years agoMerge pull request #244 from hunner/add_tests
Ashley Penney [Thu, 1 May 2014 22:56:29 +0000 (18:56 -0400)]
Merge pull request #244 from hunner/add_tests

Add more specs

11 years agoAdd more specs
Hunter Haugen [Tue, 29 Apr 2014 00:28:22 +0000 (17:28 -0700)]
Add more specs

11 years agoMerge pull request #243 from hunner/add_beaker
Ashley Penney [Mon, 28 Apr 2014 18:55:29 +0000 (14:55 -0400)]
Merge pull request #243 from hunner/add_beaker

Add beaker tests for functions.

11 years agoMerge pull request #222 from mfoo/fix/master/concat-primitives
Ashley Penney [Thu, 24 Apr 2014 17:41:42 +0000 (13:41 -0400)]
Merge pull request #222 from mfoo/fix/master/concat-primitives

Allow concat to take non-array second parameters

11 years agoMerge pull request #238 from Spredzy/add_default_ensure_packages
Ashley Penney [Thu, 24 Apr 2014 17:38:07 +0000 (13:38 -0400)]
Merge pull request #238 from Spredzy/add_default_ensure_packages

(MODULES-603) Add defaults arguments to ensure_packages()

11 years agoMerge pull request #242 from apenney/facts_d
Hunter Haugen [Tue, 22 Apr 2014 21:21:44 +0000 (14:21 -0700)]
Merge pull request #242 from apenney/facts_d

Adjust the regular expression for facts.

11 years agoAdjust the regular expression for facts.
Ashley Penney [Tue, 22 Apr 2014 21:14:16 +0000 (23:14 +0200)]
Adjust the regular expression for facts.

Previously this was incorrectly handling facts that were of the form
foo=1+1=2 due to the ='s in the actual fact contents.  Fix this and
add tests to try and prevent regressions.

11 years agoMerge pull request #239 from kylog/maint/remove-facter-versions-test
Ashley Penney [Wed, 16 Apr 2014 20:00:32 +0000 (16:00 -0400)]
Merge pull request #239 from kylog/maint/remove-facter-versions-test

(maint) Remove facter versions test

11 years ago(maint) Remove facter versions test
Kylo Ginsberg [Tue, 8 Apr 2014 23:21:37 +0000 (16:21 -0700)]
(maint) Remove facter versions test

This test attempts to emulate various versions of facter, but is
still dependent on the version of facter it is running against. The
immediate symptom was that the test breaks with facter 2.0.1 because
it adds another external facts search directory.

I tried a couple ways to stub this but allowing it to pretend
to run against one set of facters, while actually running against
one real facter (which might itself be one of several versions)
eluded me.

So this patch just removes the test.

11 years agoAdding more tests
Hunter Haugen [Wed, 9 Apr 2014 21:35:34 +0000 (14:35 -0700)]
Adding more tests

11 years agoAdd build_csv
Hunter Haugen [Tue, 8 Apr 2014 23:38:33 +0000 (16:38 -0700)]
Add build_csv

11 years agoAdd success/fail groups
Hunter Haugen [Tue, 8 Apr 2014 22:04:55 +0000 (15:04 -0700)]
Add success/fail groups

11 years agoFirst set of tests
Hunter Haugen [Sat, 15 Mar 2014 01:17:12 +0000 (18:17 -0700)]
First set of tests

11 years agoAdd some acceptance tests for functions.
Ashley Penney [Thu, 13 Mar 2014 18:21:38 +0000 (18:21 +0000)]
Add some acceptance tests for functions.

11 years ago(MODULES-603) Add defaults arguments to ensure_packages()
Yanis Guenane [Sun, 30 Mar 2014 22:47:36 +0000 (18:47 -0400)]
(MODULES-603) Add defaults arguments to ensure_packages()

Without this patch one can not specify package resource specific
parameters. All the ensure_packages() function does it makes sure
the named packages are installed. This patch allows one to pass
default as a second argument and allow greater flexibility on
packages installations.

Use case like the following are now possible :
  * ensure_packages(['r10k', 'serverspec'], {'provider' => 'gem'})
  * ensure_packages(['ntp'], {'require' => 'Exec[foobar]'})

11 years agoMerge pull request #236 from PierreRambaud/patch-1
Ashley Penney [Thu, 27 Mar 2014 12:41:43 +0000 (08:41 -0400)]
Merge pull request #236 from PierreRambaud/patch-1

Update README.markdown

11 years agoUpdate README.markdown
GoT [Thu, 27 Mar 2014 10:56:17 +0000 (11:56 +0100)]
Update README.markdown

Add code block for validate_slength.

11 years agoMerge branch '4.x'
Adrien Thebo [Tue, 25 Mar 2014 20:26:12 +0000 (13:26 -0700)]
Merge branch '4.x'

11 years agoMerge branch '3.x' into 4.x
Adrien Thebo [Tue, 25 Mar 2014 20:26:00 +0000 (13:26 -0700)]
Merge branch '3.x' into 4.x

11 years agoMerge branch '3.2.x' into 3.x
Adrien Thebo [Tue, 25 Mar 2014 20:25:31 +0000 (13:25 -0700)]
Merge branch '3.2.x' into 3.x

11 years agoMerge branch 'maint/3.2.x-ruby-rake-1.8-compat' into 3.2.x
Adrien Thebo [Tue, 25 Mar 2014 20:24:49 +0000 (13:24 -0700)]
Merge branch 'maint/3.2.x-ruby-rake-1.8-compat' into 3.2.x

11 years ago(maint) Pin rake version to 10.1.0 for 1.8 compat
Adrien Thebo [Tue, 25 Mar 2014 16:46:53 +0000 (09:46 -0700)]
(maint) Pin rake version to 10.1.0 for 1.8 compat

11 years agoMerge branch '4.x'
Hunter Haugen [Tue, 18 Mar 2014 23:24:02 +0000 (16:24 -0700)]
Merge branch '4.x'

11 years agoMerge branch '3.x' into 4.x
Hunter Haugen [Tue, 18 Mar 2014 23:18:53 +0000 (16:18 -0700)]
Merge branch '3.x' into 4.x

11 years agoMerge branch '3.2.x' into 3.x
Hunter Haugen [Tue, 18 Mar 2014 23:16:00 +0000 (16:16 -0700)]
Merge branch '3.2.x' into 3.x

11 years agoMerge pull request #231 from apenney/32-testing
Ashley Penney [Tue, 18 Mar 2014 16:34:40 +0000 (12:34 -0400)]
Merge pull request #231 from apenney/32-testing

Numerous changes to update testing gems.

11 years agoRemove this test.
Ashley Penney [Thu, 13 Mar 2014 18:10:01 +0000 (11:10 -0700)]
Remove this test.

It turns out that in 3.x the refresh functionality doesn't actually
exist yet, so testing it makes no sense.

11 years agoMerge pull request #234 from apenney/add-beaker
Ashley Penney [Wed, 12 Mar 2014 18:24:32 +0000 (11:24 -0700)]
Merge pull request #234 from apenney/add-beaker

Add beaker framework.

11 years agoAdd beaker framework.
Ashley Penney [Wed, 12 Mar 2014 18:22:23 +0000 (18:22 +0000)]
Add beaker framework.

This prepares the module for beaker acceptance tests.

11 years agoMerge pull request #220 from mediatemple/fix/master/deep_merge_fix
Ashley Penney [Tue, 11 Mar 2014 16:31:23 +0000 (09:31 -0700)]
Merge pull request #220 from mediatemple/fix/master/deep_merge_fix

PUP-1724 Don't modify the paramaters to deep_merge

11 years agoMerge pull request #221 from puphpet/hash-fix
Ashley Penney [Tue, 11 Mar 2014 16:29:46 +0000 (09:29 -0700)]
Merge pull request #221 from puphpet/hash-fix

hash example has misplaced comas

11 years agoEnsure Gemfile retains facilities for Jenkins.
Ashley Penney [Tue, 11 Mar 2014 16:21:37 +0000 (09:21 -0700)]
Ensure Gemfile retains facilities for Jenkins.

11 years agoMerge pull request #233 from apenney/add-back-location
Ashley Penney [Mon, 10 Mar 2014 22:22:56 +0000 (15:22 -0700)]
Merge pull request #233 from apenney/add-back-location

Make sure location_for is used when installing Puppet.

11 years agoMake sure location_for is used when installing Puppet.
Ashley Penney [Mon, 10 Mar 2014 22:19:03 +0000 (15:19 -0700)]
Make sure location_for is used when installing Puppet.

11 years agoMerge pull request #232 from apenney/add-back-location
Ashley Penney [Mon, 10 Mar 2014 21:58:25 +0000 (14:58 -0700)]
Merge pull request #232 from apenney/add-back-location

Readd location_for

11 years agoReadd location_for
Ashley Penney [Mon, 10 Mar 2014 21:56:12 +0000 (14:56 -0700)]
Readd location_for

location_for is used in Jenkins to transform a passed in git
repo into something usable by bundler.

11 years agoRemove pry, whoops.
Ashley Penney [Mon, 10 Mar 2014 20:07:43 +0000 (13:07 -0700)]
Remove pry, whoops.

11 years agoNumerous changes to update testing gems.
Ashley Penney [Wed, 5 Mar 2014 20:43:58 +0000 (15:43 -0500)]
Numerous changes to update testing gems.

This work updates a number of Gems to the latest versions (rspec,
rspec-puppet), and updates and tweaks a bunch of tests to work
with the updated gems.

11 years agoMerge pull request #230 from apenney/fix-testing
Ashley Penney [Sat, 8 Mar 2014 00:48:40 +0000 (19:48 -0500)]
Merge pull request #230 from apenney/fix-testing

[WIP] Spec overhaul.

11 years agoNumerous changes to update testing gems.
Ashley Penney [Wed, 5 Mar 2014 20:43:58 +0000 (15:43 -0500)]
Numerous changes to update testing gems.

This work updates a number of Gems to the latest versions (rspec,
rspec-puppet), and updates and tweaks a bunch of tests to work
with the updated gems.

11 years agoMerge pull request #228 from hunner/fix_metadata
Ashley Penney [Mon, 3 Mar 2014 21:59:29 +0000 (16:59 -0500)]
Merge pull request #228 from hunner/fix_metadata

Patch metadata

11 years agoPatch metadata
Hunter Haugen [Mon, 3 Mar 2014 21:56:13 +0000 (13:56 -0800)]
Patch metadata

11 years agoMerge pull request #227 from hunner/add_support
Ashley Penney [Mon, 3 Mar 2014 20:48:41 +0000 (15:48 -0500)]
Merge pull request #227 from hunner/add_support

Supported Release 3.2.1

11 years agoSupported Release 3.2.1
Hunter Haugen [Mon, 3 Mar 2014 20:45:43 +0000 (12:45 -0800)]
Supported Release 3.2.1

Summary
This is a supported release

Bugfixes
- Fixed `is_integer`/`is_float`/`is_numeric` for checking the value of
  arithmatic expressions.

Known bugs
* No known bugs

11 years agoMerge pull request #226 from apenney/supported-metadata
Hunter Haugen [Mon, 3 Mar 2014 18:55:28 +0000 (10:55 -0800)]
Merge pull request #226 from apenney/supported-metadata

[don't merge] Prepare for supported modules.

11 years agoPrepare for supported modules.
Ashley Penney [Mon, 3 Mar 2014 17:47:04 +0000 (17:47 +0000)]
Prepare for supported modules.

11 years agoAllow concat to take non-array second parameters
Martin Foot [Fri, 21 Feb 2014 14:32:32 +0000 (14:32 +0000)]
Allow concat to take non-array second parameters

Also improve and extend concat tests to lock down functionality

11 years agohash example has misplaced comas
Juan Treminio [Thu, 20 Feb 2014 05:37:38 +0000 (23:37 -0600)]
hash example has misplaced comas

11 years agoPUP-1724 Don't modify the paramaters to deep_merge
Justin Burnham [Mon, 17 Feb 2014 19:46:55 +0000 (11:46 -0800)]
PUP-1724 Don't modify the paramaters to deep_merge

Instead of modifying the first paramater of deep_merge due to the
use of the merge! function, instead use merge to return a copy of
the merged object. This allows one to continue to use the original
first parameter after the call to deep_merge.

11 years agoMerge pull request #217 from teancom/fix/master/file_line
Ashley Penney [Tue, 11 Feb 2014 17:51:37 +0000 (12:51 -0500)]
Merge pull request #217 from teancom/fix/master/file_line

(DOCUMENT-21) add docs for file_line to README.markdown

11 years agoMerge pull request #219 from petems/patch-1
Ashley Penney [Tue, 11 Feb 2014 17:51:22 +0000 (12:51 -0500)]
Merge pull request #219 from petems/patch-1

Fix strftime documentation in README

11 years agoFix strftime documentation in README
Peter Souter [Tue, 11 Feb 2014 15:57:22 +0000 (15:57 +0000)]
Fix strftime documentation in README

Markdown was barfing due to typo

11 years agoMerge pull request #218 from mediatemple/remove_trailing_whitespace
Hunter Haugen [Wed, 5 Feb 2014 23:06:09 +0000 (15:06 -0800)]
Merge pull request #218 from mediatemple/remove_trailing_whitespace

Remove trailing whitespace

11 years agoRemove trailing whitespace
Sharif Nassar [Wed, 5 Feb 2014 23:01:45 +0000 (15:01 -0800)]
Remove trailing whitespace

12 years agoMerge branch 'DavidS-broaden-pick-arguments2'
Andrew Parker [Wed, 29 Jan 2014 17:28:48 +0000 (09:28 -0800)]
Merge branch 'DavidS-broaden-pick-arguments2'

* DavidS-broaden-pick-arguments2:
  (PUP-638) Add a pick_default() function that always returns a value.
  (PUP-636) Ignore generated file

12 years ago(PUP-638) Add a pick_default() function that always returns a value.
David Schmitt [Thu, 23 Jan 2014 14:22:27 +0000 (15:22 +0100)]
(PUP-638) Add a pick_default() function that always returns a value.

This version of pick() does not error out, instead always returning at least
the last argument, even if that too has no "real" value.

12 years ago(PUP-636) Ignore generated file
David Schmitt [Wed, 14 Aug 2013 08:33:39 +0000 (10:33 +0200)]
(PUP-636) Ignore generated file

12 years agoMerge pull request #215 from blkperl/add_root_home_to_mavericks
Andrew Parker [Tue, 28 Jan 2014 18:52:58 +0000 (10:52 -0800)]
Merge pull request #215 from blkperl/add_root_home_to_mavericks

(PUP-1459) Add support for root_home on OS X 10.9

12 years ago(DOCUMENT-21) add docs for file_line to README.markdown
David Bishop [Sat, 25 Jan 2014 18:23:17 +0000 (13:23 -0500)]
(DOCUMENT-21) add docs for file_line to README.markdown

Without this, you have to look at the source file
(lib/puppet/type/file_line.rb) to know what it does. This adds that
documentation.

12 years ago(PUP-1195) Rephrase documentation for is_integer and is_numeric
Henrik Lindberg [Thu, 23 Jan 2014 23:22:09 +0000 (00:22 +0100)]
(PUP-1195) Rephrase documentation for is_integer and is_numeric

The documentation contained references to future decisions about
functionality.
Text rephrased for clarity.

12 years ago(PUP-1195) Fix is_numeric/is_integer when checking non-string parameters
Simon Effenberg [Thu, 19 Dec 2013 23:13:39 +0000 (00:13 +0100)]
(PUP-1195) Fix is_numeric/is_integer when checking non-string parameters

I expect a function called "is_numeric" or "is_integer" to check if a
variable is an integer or a number even if the variable passed by isn't
a string nor a number at all. Otherwise we should call them
is_string_a_number and is_string_an_integer and we have then to remove
the check for .is_a?(Number) and .is_a?(FixNum)

now checking also if it is a hex or octal number

improved/corrected checking for integer

* checking against Integer instead of Fixnum so that
  also Bignum is matching
* now .is_a? Integer is done first so this is quiet fast

Now many types of numerics are recognized.

1. Float/Integer values (signed or unsigned, with exponent or without)
2. octal and hex check
3. except hex numbers and the "0." in a float lower than 1 can be prefixed
   with a '0'.

whitespaces shouldn't be allowed as prefix/suffix

string representation of numbers should not contain any type of
whitespace.. the user is responsible to clean a string before checking
it..

fix documentation and added more checks

tried to be 99.9% backward compatible

* for now the decission is post poned if hex and octal numbers
  should be allowed or not (is_numeric)
* native Bignum is now also a valid integer class

fix problem with old 1.8 ruby and Hash.to_s/Array.to_s

In ruby < 1.9 array and hashes would be recognized as numeric
if they have a special format:

1.8:

  [1,2,3,4].to_s = "1234"
  {1=>2}.to_s    = "12"

1.9:

  [1,2,3,4].to_s = "[1, 2, 3, 4]"
  {1=>2}.to_s    = "{1=>2}"

12 years agoMerge pull request #216 from ghoneycutt/enable_travis_fast_finish
Hunter Haugen [Thu, 23 Jan 2014 22:49:56 +0000 (14:49 -0800)]
Merge pull request #216 from ghoneycutt/enable_travis_fast_finish

Enable fast finish in Travis

12 years agoEnable fast finish in Travis
Garrett Honeycutt [Thu, 23 Jan 2014 19:18:50 +0000 (14:18 -0500)]
Enable fast finish in Travis

http://blog.travis-ci.com/2013-11-27-fast-finishing-builds/

12 years ago(PUP-1459) Add support for root_home on OS X 10.9
William Van Hevelingen [Fri, 17 Jan 2014 06:22:38 +0000 (22:22 -0800)]
(PUP-1459) Add support for root_home on OS X 10.9

getent does not exist on 10.9 so this commit uses
dscacheutil to query the homedir for the root user.

12 years agoMerge branch 'pull-201'
Adrien Thebo [Wed, 15 Jan 2014 19:17:48 +0000 (11:17 -0800)]
Merge branch 'pull-201'

This closes GH-201.

12 years ago(maint) Update ensure_package specs to confirm expected behavior
Adrien Thebo [Wed, 15 Jan 2014 19:04:03 +0000 (11:04 -0800)]
(maint) Update ensure_package specs to confirm expected behavior

The previous behavior of the tests checked the behavior of the
underlying functions library when called with no arguments; this commit
updates the tests to conform to the functions API and test what happens
when a function is called with no args.

12 years ago(maint) refactor ensure_packages for clarity
Adrien Thebo [Wed, 15 Jan 2014 19:03:49 +0000 (11:03 -0800)]
(maint) refactor ensure_packages for clarity

12 years agoAllow a single argument, rather than an array
Tomas Doran [Tue, 19 Nov 2013 18:38:12 +0000 (18:38 +0000)]
Allow a single argument, rather than an array

12 years agoMerge pull request #214 from zaphod42/maint/master/update-references-for-jira
Andrew Parker [Thu, 26 Dec 2013 17:36:44 +0000 (09:36 -0800)]
Merge pull request #214 from zaphod42/maint/master/update-references-for-jira

(doc) Update to point to Jira

12 years ago(doc) Update to point to Jira
Andrew Parker [Mon, 23 Dec 2013 23:35:08 +0000 (15:35 -0800)]
(doc) Update to point to Jira

Since we've moved from Redmine to Jira the links need to be updated so
that people know where to look for issues.

At the moment stdlib is being tracked with puppet in the PUP project.
This doesn't seem like a good, long term solution, but it is where we
are right now.

12 years agoMerge branch 'pull-209'
Adrien Thebo [Fri, 20 Dec 2013 23:04:18 +0000 (15:04 -0800)]
Merge branch 'pull-209'

This closes GH-209

12 years ago(maint) Improve test coverage for prefix and suffix
Adrien Thebo [Fri, 20 Dec 2013 22:59:51 +0000 (14:59 -0800)]
(maint) Improve test coverage for prefix and suffix

12 years agoFix prefix exception message (Closes #23364)
Franco Catena [Thu, 5 Dec 2013 19:11:59 +0000 (16:11 -0300)]
Fix prefix exception message (Closes #23364)

12 years ago(Maint) Update stubbing to work with facter 1.7.4
Andrew Parker [Wed, 18 Dec 2013 22:46:54 +0000 (14:46 -0800)]
(Maint) Update stubbing to work with facter 1.7.4

Facter 1.7.4 changed how it decides on what directory to look in for
facts.d based on the user it is running as. This stubs out that bit of
code to make it think it is running as root.

12 years agoMerge pull request #211 from jhoblitt/function_is_bool
Andrew Parker [Wed, 18 Dec 2013 18:49:39 +0000 (10:49 -0800)]
Merge pull request #211 from jhoblitt/function_is_bool

(#23381) add is_bool() function

12 years agoMerge pull request #208 from ghoneycutt/add_validation
Andrew Parker [Wed, 18 Dec 2013 18:45:10 +0000 (10:45 -0800)]
Merge pull request #208 from ghoneycutt/add_validation

Add rake tasks to validate and lint files and check with Travis

12 years agoMerge pull request #207 from ghoneycutt/remove_unintentional_link
Josh Cooper [Wed, 18 Dec 2013 18:38:40 +0000 (10:38 -0800)]
Merge pull request #207 from ghoneycutt/remove_unintentional_link

Remove unintentional link from README

12 years agoMerge pull request #203 from dreamlibrarian/fix/is_function_available-ruby_c
Andrew Parker [Wed, 18 Dec 2013 18:31:39 +0000 (10:31 -0800)]
Merge pull request #203 from dreamlibrarian/fix/is_function_available-ruby_c

calling rspec directly makes is_function_available.rb not pass ruby -c

12 years ago(maint) Update README stating stdlib 4.x supports Puppet 2.7.x
Jeff McCune [Thu, 12 Dec 2013 16:12:12 +0000 (11:12 -0500)]
(maint) Update README stating stdlib 4.x supports Puppet 2.7.x

Without this patch there is a disconnect between the documentation in
the README and our decision to not merge pull requests into the 4.x
series that break compatibility with Puppet 2.7.x

For example:

    @jeffmccune I think the real issue here is that "policy" is out of sync with
    the documentation. The README claims that 4.x does not support puppet 2.7.x,
    yet the "policy" is not to merge patches that break 2.7.x. Due to that I'm sure
    there are a lot of 2.7.x installations out there that have a 4.x version of
    stdlib installed. That's going to cause a rather rude surprise if some future
    version of 4.x stops working where a prior minor release was functioning.

    I'd like to suggest that the documentation be changed to reflect 4.x supporting
    2.7.x and that a new major version bump is made when 2.7.x support can in fact
    be dropped. An alternative solution would be update the README with a note to
    developers about the kinda/sorta/maybe/fishy/quasi support of 2.7.x.

Please also see this discussion:
https://github.com/puppetlabs/puppetlabs-stdlib/pull/176#issuecomment-30251414

12 years agoMerge pull request #200 from bobtfish/fix_tests_on_osx
Adrien Thebo [Mon, 9 Dec 2013 22:18:17 +0000 (14:18 -0800)]
Merge pull request #200 from bobtfish/fix_tests_on_osx

Fix the tests on osx