]>
gitweb.fluxo.info Git - puppet-stdlib.git/log
Hunter Haugen [Thu, 5 Mar 2015 18:57:43 +0000 (10:57 -0800)]
Merge pull request #375 from poikilotherm/feature/master/validate_integer_and_numeric
(MODULES-560) Add new functions validate_numeric() and validate_integer().
TP Honey [Thu, 5 Mar 2015 15:45:39 +0000 (15:45 +0000)]
Merge pull request #420 from mhaskel/improveprefix
Add support for hashes in the prefix function
Morgan Haskel [Wed, 4 Mar 2015 23:08:23 +0000 (15:08 -0800)]
Merge pull request #410 from robruma/range_documentation_update
Adding markdown for the range() function's 3rd argument
robruma [Thu, 12 Feb 2015 01:27:30 +0000 (20:27 -0500)]
Adding markdown for the range() function's 3rd argument
Adding markdown for the range() function's 3rd argument
Adding markdown for the range() function's 3rd argument
Stefan Goethals [Wed, 4 Jun 2014 13:12:22 +0000 (06:12 -0700)]
Add support for hashes in the prefix function
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Morgan Haskel [Wed, 4 Mar 2015 00:06:46 +0000 (16:06 -0800)]
Merge pull request #310 from kainz/master
URI.escape for the array case was incorrect.
Bryon Roché [Fri, 8 Aug 2014 23:59:37 +0000 (16:59 -0700)]
URI.escape for the array case was incorrect.
The previous commit to uriescape() changed the implementation to use the ruby default escape list for URI.escape(), but did not change the call triggered when uriescape() was called on an array, triggering ruby errors.
Morgan Haskel [Tue, 3 Mar 2015 23:59:06 +0000 (15:59 -0800)]
Merge pull request #407 from adamcrews/ceiling_function
Add a ceiling function to complement the floor function.
Morgan Haskel [Mon, 2 Mar 2015 19:09:33 +0000 (11:09 -0800)]
Merge pull request #419 from cyberious/master
Loosen the restrictions of upcase and allow for recursion of the objects...
Travis Fields [Sat, 28 Feb 2015 01:40:32 +0000 (17:40 -0800)]
Loosen the restrictions of upcase and allow for recursion of the objects and only worry if the object responds to upcase
Morgan Haskel [Thu, 26 Feb 2015 18:51:10 +0000 (10:51 -0800)]
Merge pull request #418 from cyberious/UpcaseHash
Fix issue with 1.8.7 and upcase
Travis Fields [Thu, 26 Feb 2015 18:13:28 +0000 (10:13 -0800)]
Fix issue with Ruby 1.8.7 which did not allow for the return in an each_pair of the hash
Morgan Haskel [Thu, 26 Feb 2015 00:58:39 +0000 (16:58 -0800)]
Merge pull request #417 from cyberious/UpcaseHash
Add Hash to upcase
Travis Fields [Wed, 25 Feb 2015 19:39:27 +0000 (11:39 -0800)]
Add Hash to upcase
Morgan Haskel [Thu, 19 Feb 2015 21:59:26 +0000 (13:59 -0800)]
Merge pull request #415 from nibalizer/master
Remove travis badge
Spencer Krum [Thu, 19 Feb 2015 21:58:14 +0000 (13:58 -0800)]
Remove travis badge
Travis Fields [Thu, 19 Feb 2015 20:02:15 +0000 (12:02 -0800)]
Merge pull request #413 from mhaskel/fix
Check for string before copying
Morgan Haskel [Thu, 19 Feb 2015 20:01:26 +0000 (12:01 -0800)]
Check for string before copying
Morgan Haskel [Thu, 19 Feb 2015 19:33:34 +0000 (11:33 -0800)]
Merge pull request #412 from seanmil/MODULES-1771
(MODULES-1771) Don't modify input to is_domain_name()
Sean Millichamp [Sat, 14 Feb 2015 15:46:34 +0000 (10:46 -0500)]
(MODULES-1771) Don't modify input to is_domain_name()
Fix is_domain_name() so it dup's its incoming argument
to avoid changing the original with a later chomp!
Colleen Murphy [Thu, 12 Feb 2015 23:45:23 +0000 (15:45 -0800)]
Merge pull request #406 from elyscape/fix/fqdn_rotate_pollutes_global_seed
(MODULES-1738) Don't modify the global seed in fqdn_rotate()
Eli Young [Wed, 28 Jan 2015 23:28:54 +0000 (15:28 -0800)]
(MODULES-1738) Don't modify global seed in fqdn_rotate()
As per puppetlabs/puppet@
292233c , this leaves the global seed in a
deterministic state, which is bad. Puppet::Util.deterministic_rand()
exists to avoid running into this issue, but is only present starting in
Puppet 3.2.0.
Colleen Murphy [Thu, 12 Feb 2015 21:14:17 +0000 (13:14 -0800)]
Merge pull request #411 from elyscape/fix/travis_build_issues
Fix Travis builds
Eli Young [Thu, 12 Feb 2015 19:43:34 +0000 (11:43 -0800)]
Have Travis actually test Facter 1.6/1.7
The Gemfile didn't actually specify which version to use for Facter,
even when there was an environment variable to that effect.
Eli Young [Thu, 12 Feb 2015 19:19:53 +0000 (11:19 -0800)]
Fix Travis builds
The release of rspec 3.2.0 broke a lot of tests. Pinning to rspec 3.1.0
provides a temporary fix.
Adam Crews [Mon, 2 Feb 2015 06:46:16 +0000 (22:46 -0800)]
Add a ceiling function to complement the floor function.
Hunter Haugen [Thu, 15 Jan 2015 21:59:53 +0000 (13:59 -0800)]
Merge pull request #403 from cyberious/master
Merge 4.6.x back to master
Travis Fields [Thu, 15 Jan 2015 21:55:48 +0000 (13:55 -0800)]
Merge branch '4.6.x' back to master
Morgan Haskel [Thu, 15 Jan 2015 16:44:20 +0000 (08:44 -0800)]
Merge pull request #402 from cyberious/4.6.x
Merge 4.5.x into 4.6.x
Travis Fields [Thu, 15 Jan 2015 04:54:27 +0000 (20:54 -0800)]
Merge branch '4.5.x' into 4.6.x
Conflicts:
CHANGELOG.md
Colleen Murphy [Thu, 15 Jan 2015 00:27:21 +0000 (16:27 -0800)]
Merge pull request #401 from cyberious/FM-2131
FM-2131 Move to non temp directory for factor_dot_d
Travis Fields [Wed, 14 Jan 2015 20:46:10 +0000 (12:46 -0800)]
Prepare for 4.5.1 release
Travis Fields [Fri, 9 Jan 2015 22:09:03 +0000 (14:09 -0800)]
FM-2130 Move cache file to non temp directory
Hunter Haugen [Wed, 14 Jan 2015 17:17:24 +0000 (09:17 -0800)]
Merge pull request #398 from puppetlabs/master
Pull in RSpec 3.0 fixes.
Colleen Murphy [Wed, 14 Jan 2015 01:43:19 +0000 (17:43 -0800)]
Merge pull request #397 from cyberious/4.6.x
4.6.x
Travis Fields [Wed, 14 Jan 2015 01:17:48 +0000 (17:17 -0800)]
Prep for 4.6.0 STDLIB release
Travis Fields [Wed, 14 Jan 2015 01:26:14 +0000 (17:26 -0800)]
Merge pull request #396 from hunner/change_each
Change all to each
Hunter Haugen [Wed, 14 Jan 2015 01:21:28 +0000 (17:21 -0800)]
Change all to each
The existence of this directory is behavior for each test, but will also
stop rspec 3 from complaining.
Travis Fields [Wed, 14 Jan 2015 01:16:10 +0000 (17:16 -0800)]
Merge branch 'master' into 4.5.x
Hunter Haugen [Wed, 14 Jan 2015 01:03:44 +0000 (17:03 -0800)]
Merge pull request #395 from cyberious/FM-2130
FM-2130 Move cache file to non temp directory
Travis Fields [Fri, 9 Jan 2015 22:09:03 +0000 (14:09 -0800)]
FM-2130 Move cache file to non temp directory
Travis Fields [Thu, 8 Jan 2015 16:57:30 +0000 (08:57 -0800)]
Merge pull request #382 from hunner/fix_type
(MODULES-1473) Deprecate type() function for new parser
Hunter Haugen [Tue, 16 Dec 2014 00:11:10 +0000 (16:11 -0800)]
(MODULES-1473) Deprecate type() function for new parser
The `type()` function will cease to work on the new parser because 'type'
is a reserved keyword. The `type3x()` function may be used to continue
similar functionality, but will be deprecated in favor of the built-in
typing system.
The `type_of()` function has been included to introspect types in the
new parser.
Travis Fields [Fri, 2 Jan 2015 20:27:33 +0000 (12:27 -0800)]
Merge pull request #336 from mklette/master
ensure_resource: be more verbose in debug mode
Morgan Haskel [Mon, 29 Dec 2014 19:22:11 +0000 (11:22 -0800)]
Merge pull request #394 from cmurphy/master
Add IntelliJ files to the ignore list
Colleen Murphy [Mon, 29 Dec 2014 18:41:22 +0000 (10:41 -0800)]
Add IntelliJ files to the ignore list
Hunter Haugen [Sun, 21 Dec 2014 03:00:10 +0000 (19:00 -0800)]
Merge pull request #391 from petems/update_readme
Update README
Peter Souter [Fri, 19 Dec 2014 11:52:11 +0000 (11:52 +0000)]
README fixes for recent merges
* (MODULES-444) Update README for concat changes
* (MODULES-1582) Update `validate_cmd` readme
* Plus some Whitespace fixes
Hunter Haugen [Fri, 19 Dec 2014 19:27:13 +0000 (11:27 -0800)]
Merge pull request #393 from cyberious/DeleteDocUpdates
Update docs to reflect new behavior of delete function taking array in second argument
Travis Fields [Fri, 19 Dec 2014 18:41:07 +0000 (10:41 -0800)]
Update docs to reflect new behavior of delete function taking array in second argument
Hunter Haugen [Fri, 19 Dec 2014 18:31:58 +0000 (10:31 -0800)]
Merge pull request #392 from cyberious/MOD-1606
MODULES-1606 add ability to pass array to delete for items to delete
Travis Fields [Fri, 19 Dec 2014 18:26:01 +0000 (10:26 -0800)]
MODULES-1606 add ability to pass array to delete for items to delete
Travis Fields [Fri, 19 Dec 2014 00:26:42 +0000 (16:26 -0800)]
Merge pull request #389 from mhaskel/fix_test_374
Fix bad check in test
Morgan Haskel [Fri, 19 Dec 2014 00:20:02 +0000 (16:20 -0800)]
Fix bad check in test
Hunter Haugen [Thu, 18 Dec 2014 23:55:33 +0000 (15:55 -0800)]
Merge pull request #388 from mhaskel/merge_4.5.x_into_master
Merge 4.5.x into master
Hunter Haugen [Thu, 18 Dec 2014 23:45:42 +0000 (15:45 -0800)]
Merge pull request #377 from petems/MODULES-1582-improve_validate_cmd
(MODULES-1582) File location placeholder
Peter Souter [Thu, 18 Dec 2014 23:08:13 +0000 (23:08 +0000)]
(MODULES-1582) Improve % detection
Avoids any validate commands that have %'s in them other than "... % ..."
Peter Souter [Tue, 9 Dec 2014 14:42:31 +0000 (14:42 +0000)]
(MODULES-1582) Specs for the new % placeholder
These specs are pretty much the same as the originals, but now check that the output has the correct replacement for file location
Peter Souter [Tue, 9 Dec 2014 14:20:31 +0000 (14:20 +0000)]
(MODULES-1582) Initial spike for % placeholder
This simply `gsub`'s the file path into where the % placeholder is.
Morgan Haskel [Wed, 17 Dec 2014 22:19:30 +0000 (14:19 -0800)]
Merge pull request #372 from poikilotherm/feature/master/validate_absolute_path_allow_arrays
Allow array of pathes in validate_absolute_path
Morgan Haskel [Wed, 17 Dec 2014 19:00:23 +0000 (11:00 -0800)]
Merge pull request #368 from rfugina/basename
Basename implementation
Rob Fugina [Mon, 17 Nov 2014 22:01:42 +0000 (16:01 -0600)]
Added basename() based on Ruby's File.basename
Based on dirname code. Includes RSpec tests and docs.
Hunter Haugen [Wed, 17 Dec 2014 17:24:51 +0000 (09:24 -0800)]
Merge pull request #374 from petems/MODULES-444-add_concat_multiple
MODULES-444-Add concat multiple
Morgan Haskel [Wed, 17 Dec 2014 01:32:40 +0000 (17:32 -0800)]
Merge remote-tracking branch 'upstream/4.5.x' into merge_4.5.x_into_master
Conflicts:
metadata.json
Morgan Haskel [Tue, 16 Dec 2014 23:07:02 +0000 (15:07 -0800)]
Merge pull request #387 from hunner/remove_match_line
Remove line match validation
Morgan Haskel [Tue, 16 Dec 2014 23:06:13 +0000 (15:06 -0800)]
Merge pull request #386 from jbondpdx/4.5.x
DOC-1095: edit file_line resource, match parameter
Hunter Haugen [Tue, 16 Dec 2014 19:48:46 +0000 (11:48 -0800)]
Remove line match validation
The `match` attribute was validated to match `line`, except that in many
cases (even the example given in the docs) a user would want to match a
line entirely different from the new line.
See comments on the original commit
https://github.com/puppetlabs/puppetlabs-stdlib/commit/
a06c0d8115892a74666676b50d4282df9850a119
and ask
https://ask.puppetlabs.com/question/14366/file_line-resource-match-problems/
for further examples of confusion.
jbondpdx [Tue, 16 Dec 2014 22:33:42 +0000 (14:33 -0800)]
DOC-1095: edit file_line resource, match parameter
Was unclear and not accurate; rewrote the parameter, moved file_line from function list to resource section, added missing parameters for this resource.
Colleen Murphy [Tue, 16 Dec 2014 18:17:24 +0000 (10:17 -0800)]
Merge pull request #384 from mhaskel/doc_fixes_from_master
Doc fixes from master
jbondpdx [Tue, 25 Nov 2014 19:32:12 +0000 (11:32 -0800)]
Added a note that stdlib no longer ships with PE 3.7+
Users didn't realize we stopped shipping stdlib module with PE. I added this information to the stdlib readme.
jbondpdx [Thu, 20 Nov 2014 23:20:37 +0000 (15:20 -0800)]
FM-1523: Added module summary to metadata.json
Morgan Haskel [Tue, 16 Dec 2014 18:09:08 +0000 (10:09 -0800)]
Merge pull request #373 from jbondpdx/stdlib-readme-fix
Add to Readme: Stdlib no longer ships with PE
Morgan Haskel [Tue, 16 Dec 2014 18:08:50 +0000 (10:08 -0800)]
Merge pull request #370 from jbondpdx/master
FM-1523: Added module summary to metadata.json
Travis Fields [Tue, 16 Dec 2014 00:23:14 +0000 (16:23 -0800)]
Merge pull request #383 from mhaskel/doc_update
Update README for updated member() functionality
Morgan Haskel [Tue, 16 Dec 2014 00:21:28 +0000 (16:21 -0800)]
Update README for updated member() functionality
Travis Fields [Tue, 16 Dec 2014 00:12:34 +0000 (16:12 -0800)]
Merge pull request #381 from mhaskel/4.5.0-prep
4.5.0 prep
Morgan Haskel [Tue, 16 Dec 2014 00:09:24 +0000 (16:09 -0800)]
4.5.0 prep
Morgan Haskel [Tue, 9 Dec 2014 16:23:39 +0000 (08:23 -0800)]
Merge pull request #376 from cmurphy/master
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
Colleen Murphy [Mon, 8 Dec 2014 18:33:35 +0000 (10:33 -0800)]
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
Oliver Bertuch [Fri, 5 Dec 2014 07:48:10 +0000 (08:48 +0100)]
Fixing ruby 1.8 support.
Oliver Bertuch [Thu, 4 Dec 2014 21:33:15 +0000 (22:33 +0100)]
Add new functions validate_numeric() and validate_integer().
Peter Souter [Thu, 4 Dec 2014 14:34:25 +0000 (14:34 +0000)]
(MODULES-444) - Real meat of the change
This is the core change, we now go through the array and add it to the first element, instead of just two arguments.
Peter Souter [Thu, 4 Dec 2014 14:33:23 +0000 (14:33 +0000)]
(MODULES-444) Change argument restriction to < 2
Peter Souter [Thu, 4 Dec 2014 14:32:23 +0000 (14:32 +0000)]
(MODULES-444) Update docs with new functionality
Peter Souter [Thu, 4 Dec 2014 14:27:55 +0000 (14:27 +0000)]
(MODULES-444) - Check for accepting > 2 args
Peter Souter [Thu, 4 Dec 2014 14:27:38 +0000 (14:27 +0000)]
(MODULES-444) Change test to > 2 arguments
Also add extra test for just 1 argument
Peter Souter [Thu, 4 Dec 2014 14:15:33 +0000 (14:15 +0000)]
(MODULES-444) Acceptance for multiple arrays
Acceptance test to take multiple arrays for concatenation
Peter Souter [Thu, 4 Dec 2014 14:15:03 +0000 (14:15 +0000)]
(MODULES-444) Acceptance test for primitives
`concat` should be able to concat arrays and primitives
Peter Souter [Thu, 4 Dec 2014 14:12:55 +0000 (14:12 +0000)]
(MODULES-444) Add specs for new behaviour
`concat` can now take multiple arguments
jbondpdx [Tue, 25 Nov 2014 19:32:12 +0000 (11:32 -0800)]
Added a note that stdlib no longer ships with PE 3.7+
Users didn't realize we stopped shipping stdlib module with PE. I added this information to the stdlib readme.
jbondpdx [Thu, 20 Nov 2014 23:20:37 +0000 (15:20 -0800)]
FM-1523: Added module summary to metadata.json
Oliver Bertuch [Tue, 25 Nov 2014 11:45:23 +0000 (12:45 +0100)]
Allow array of pathes in validate_absolute_path
Morgan Haskel [Fri, 21 Nov 2014 21:18:27 +0000 (16:18 -0500)]
Merge pull request #371 from cyberious/SLESSupport
FM-2020 SLES Support verified
Travis Fields [Fri, 21 Nov 2014 21:09:17 +0000 (16:09 -0500)]
FM-2020 SLES Support verified
jbondpdx [Thu, 20 Nov 2014 23:20:37 +0000 (15:20 -0800)]
FM-1523: Added module summary to metadata.json
Colleen Murphy [Mon, 17 Nov 2014 20:29:23 +0000 (12:29 -0800)]
Merge pull request #367 from mhaskel/future_parser_fix
Need to convert strings and fixnums to arrays
Morgan Haskel [Fri, 14 Nov 2014 22:33:59 +0000 (14:33 -0800)]
Need to convert strings and fixnums to arrays
Hunter Haugen [Thu, 13 Nov 2014 20:27:14 +0000 (12:27 -0800)]
Merge pull request #319 from Spredzy/member_array_in_array
(MODULES-1329) Allow member to look for array
Hunter Haugen [Thu, 13 Nov 2014 18:16:21 +0000 (10:16 -0800)]
Merge pull request #365 from dalen/range-integers
Make the range function work with integers
Hunter Haugen [Wed, 12 Nov 2014 19:54:41 +0000 (11:54 -0800)]
Merge pull request #366 from mhaskel/merge_4.4.x
Merge 4.4.x