]>
gitweb.fluxo.info Git - puppet-stdlib.git/log
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.
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
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
Yanis Guenane [Mon, 15 Sep 2014 18:16:52 +0000 (14:16 -0400)]
(MODULES-1329) Allow member function to look for array
Currently, the member function allows one to only find if a variable
is part of an array. Sometimes it is useful to find if an array is part
of a bigger array for validation purpose.
Erik Dalén [Wed, 12 Nov 2014 15:52:36 +0000 (16:52 +0100)]
Add range tests for numeric with step and mixed arguments
Erik Dalén [Wed, 12 Nov 2014 15:02:05 +0000 (16:02 +0100)]
Make the range function work with integers
This is needed for the future parser which actually treats numbers as
numbers and strings as strings. With this patch you can use range(1,5)
instead of having to quote them like range('1','5').
Erik Dalén [Wed, 12 Nov 2014 14:52:33 +0000 (15:52 +0100)]
(maint) Fix indentation of range function
Morgan Haskel [Wed, 12 Nov 2014 00:44:26 +0000 (16:44 -0800)]
Merge pull request #363 from hunner/fix_windows
Fix exclude windows test on ensure_package
Travis Fields [Tue, 11 Nov 2014 23:33:43 +0000 (15:33 -0800)]
Fix exclude windows test on ensure_package
Update to fix ensure_resource as well
Morgan Haskel [Tue, 11 Nov 2014 18:47:00 +0000 (10:47 -0800)]
Merge pull request #358 from hunner/fix_type
Correct type() logic
Hunter Haugen [Tue, 11 Nov 2014 18:46:01 +0000 (10:46 -0800)]
Correct type() logic
It should NOT run if the future parser is enabled
Morgan Haskel [Tue, 11 Nov 2014 01:15:11 +0000 (17:15 -0800)]
Merge pull request #357 from hunner/hasInterfaceWithLookupBug
(PUP-3597) Catch :undefined_variable when Future Parser is enabled on 3.7.x
Hunter Haugen [Tue, 11 Nov 2014 00:37:53 +0000 (16:37 -0800)]
Fix breaking out of .each loop
And some other small formatting fixes that don't belong in this patch.
Travis Fields [Mon, 3 Nov 2014 17:30:34 +0000 (09:30 -0800)]
Remove windows from ensure_package and ensure_resource testing
Travis Fields [Fri, 31 Oct 2014 06:37:00 +0000 (23:37 -0700)]
Catch :undefined_variable thrown when Future Parser is enabled with 3.7.x
Hunter Haugen [Mon, 10 Nov 2014 21:42:28 +0000 (13:42 -0800)]
Merge branch 'master' into 4.4.x
Hunter Haugen [Mon, 10 Nov 2014 21:28:04 +0000 (13:28 -0800)]
Merge pull request #356 from justinstoller/maint/master/segregate-gems
(QENG-1404) Segregate system testing gems
Justin Stoller [Mon, 10 Nov 2014 19:56:40 +0000 (11:56 -0800)]
(QENG-1404) Segregate system testing gems
Prior to this there was generic :test group.
Unfortunately Beaker will be EOL-ing support for Ruby 1.8 (a number of
Beaker's dependencies already have and pinning to older versions is
becoming costly). Once Beaker does this it will cause failures whenever
running `bundle install`.
To avoid this failure we can segregate the system testing gems, allowing
unit, lint and development to continue with
`bundle install --without system_tests`.
Morgan Haskel [Mon, 10 Nov 2014 19:43:00 +0000 (11:43 -0800)]
Merge pull request #355 from hunner/release_4.4.0
Release 4.4.0
Hunter Haugen [Mon, 10 Nov 2014 19:31:26 +0000 (11:31 -0800)]
Release 4.4.0
Summary
This release has an overhauled readme, new private manifest function,
and fixes many future parser bugs.
Features
- All new shiny README
- New `private()` function for making private manifests (yay!)
Bugfixes
- Code reuse in `bool2num()` and `zip()`
- Fix many functions to handle `generate()` no longer returning a string on new puppets
- `concat()` no longer modifies the first argument (whoops)
- strict variable support for `getvar()`, `member()`, `values_at`, and `has_interface_with()`
- `to_bytes()` handles PB and EB now
- Fix `tempfile` ruby requirement for `validate_augeas()` and `validate_cmd()`
- Fix `validate_cmd()` for windows
- Correct `validate_string()` docs to reflect non-handling of `undef`
- Fix `file_line` matching on older rubies
Morgan Haskel [Mon, 10 Nov 2014 19:10:41 +0000 (11:10 -0800)]
Merge pull request #354 from puppetlabs/4.3.x
4.3.x
Travis Fields [Fri, 7 Nov 2014 21:42:48 +0000 (13:42 -0800)]
Merge pull request #343 from zacharyalexstern/fix_to_bytes
Added correct converstions for PB and EB.