]>
gitweb.fluxo.info Git - puppet-stdlib.git/log
Morgan Haskel [Thu, 16 Apr 2015 17:48:10 +0000 (10:48 -0700)]
Merge pull request #314 from amateo/feature/loadyaml_check_file
Check if file exists before loading with loadyaml. If not, return nil
Angel L. Mateo [Mon, 13 Apr 2015 07:27:03 +0000 (09:27 +0200)]
test case for when the file does not exist
Hunter Haugen [Fri, 10 Apr 2015 18:58:09 +0000 (11:58 -0700)]
Merge pull request #434 from bmjen/modules-2474
Modules-2474: Only runs enhanced salts functions test on systems that ...
Bryan Jen [Fri, 10 Apr 2015 18:38:15 +0000 (11:38 -0700)]
Modules-2474: Only runs enhanced salts functional test on systems that support it.
Bryan Jen [Fri, 10 Apr 2015 17:05:02 +0000 (10:05 -0700)]
Merge pull request #433 from cmurphy/fix_acceptance
Fix acceptance tests for #405
Colleen Murphy [Fri, 10 Apr 2015 16:09:46 +0000 (09:09 -0700)]
Fix acceptance tests for #405
This fixes the acceptance tests by:
- Ensuring the fqdn_rand_string spec is passed undef as the second
parameter so that the seed is not used as the charset
- Ensuring the pw_hash spec is passed the key specifying the type of
hash, rather than the value that will be used to generate the
password
- Expecting puppet to report nil instead of empty string for undef
passwords
- Removing the fqdn_rand_base64 test because there is no such function
David Schmitt [Fri, 10 Apr 2015 12:28:48 +0000 (13:28 +0100)]
Merge pull request #425 from jeffcoat/validate_augeas_spec
Fix off-by-one error in validate_augeas_spec.rb that was causing rspec failure
Even without the gem installed always, this is helpful to avoid errors should augeas be enabled/installed due to something else.
Morgan Haskel [Thu, 9 Apr 2015 23:47:34 +0000 (16:47 -0700)]
Merge pull request #431 from bmjen/file-line-refactor
File_line checks provided after param if no match is found
Morgan Haskel [Thu, 9 Apr 2015 22:53:41 +0000 (15:53 -0700)]
Merge pull request #432 from cmurphy/fix_acceptance_undefined_var
Fix unsupported platforms variable name in tests
Colleen Murphy [Thu, 9 Apr 2015 22:47:04 +0000 (15:47 -0700)]
Fix unsupported platforms variable name in tests
unsupported_platforms is not a valid identifier, and trying to use it
causes acceptance tests to error out before running any tests. The
correct identifier for the unsupported platforms constants is
UNSUPPORTED_PLATFORMS.
Travis Fields [Thu, 9 Apr 2015 18:02:29 +0000 (11:02 -0700)]
Add spec tests and pulled in PR #427
Changed append line to open in 'w' mode and have to rewrite lines in order to append new line
Bryan Jen [Thu, 9 Apr 2015 18:30:22 +0000 (11:30 -0700)]
file_line honors after if match not found.
Hunter Haugen [Thu, 9 Apr 2015 19:13:34 +0000 (12:13 -0700)]
Merge pull request #430 from mhaskel/gjngeldenhuis-docupdate
Clarifying behaviour of attributes and adding an extra example.
Gerrard Geldenhuis [Fri, 24 Oct 2014 14:41:58 +0000 (15:41 +0100)]
Clarifying behaviour of attributes and adding an extra example.
Hunter Haugen [Thu, 9 Apr 2015 17:45:38 +0000 (10:45 -0700)]
Merge pull request #405 from elyscape/feature/fqdn_rand_strings
(MODULES-1715) Add FQDN-based random string generator
Hunter Haugen [Thu, 9 Apr 2015 17:43:34 +0000 (10:43 -0700)]
Merge pull request #408 from elyscape/feature/pw_hash
(MODULES-1737) Add pw_hash() function
Morgan Haskel [Thu, 9 Apr 2015 17:07:24 +0000 (10:07 -0700)]
Merge pull request #429 from DavidS/modulesync-configs-update
Update Travis CI job from current modulesync_configs
David Schmitt [Wed, 8 Apr 2015 12:46:56 +0000 (13:46 +0100)]
Update Travis CI job from current modulesync_configs
Eli Young [Tue, 3 Feb 2015 00:41:38 +0000 (16:41 -0800)]
(MODULES-1737) Add pw_hash() function
Eli Young [Tue, 27 Jan 2015 03:17:53 +0000 (19:17 -0800)]
(MODULES-1715) Add fqdn_rand string generators
TP Honey [Mon, 30 Mar 2015 09:22:40 +0000 (10:22 +0100)]
Merge pull request #428 from nibalizer/links_in_readme
Make each function a link in the readme
Spencer Krum [Sun, 29 Mar 2015 03:27:06 +0000 (20:27 -0700)]
Make each function a link in the readme
Using a ####, github will create a link. This makes it so I can link
someone directly to the function I want to show them.
Justin Stoller [Thu, 26 Mar 2015 23:59:50 +0000 (16:59 -0700)]
Merge pull request #426 from anodelman/master
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
Alice Nodelman [Tue, 24 Mar 2015 22:07:42 +0000 (15:07 -0700)]
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
puppetdb, etc
- support for BEAKER_VERSION and BEAKER_RSPEC_VERSION in gemfile
Mark Jeffcoat [Tue, 10 Mar 2015 22:43:51 +0000 (17:43 -0500)]
Fix off-by-one error in validate_augeas_spec.rb that was causing rspec failure.
Morgan Haskel [Fri, 6 Mar 2015 18:07:13 +0000 (10:07 -0800)]
Merge pull request #404 from roderickm/PUP-3856_isnt_domain_name
(MODULES-1670) Do not match dotted-quad IP address as domain name
TP Honey [Fri, 6 Mar 2015 17:56:09 +0000 (17:56 +0000)]
Merge pull request #423 from cyberious/GemfileBeaker
Add ability to pin beaker versions
Rod Montgomery [Thu, 15 Jan 2015 21:10:33 +0000 (15:10 -0600)]
If present, top-level domain must be alphabetic
See RFC 1123, Section 2.1
http://tools.ietf.org/html/rfc1123#section-2
Travis Fields [Thu, 5 Mar 2015 22:12:57 +0000 (14:12 -0800)]
Add ability to pin beaker versions
TP Honey [Thu, 5 Mar 2015 19:15:41 +0000 (19:15 +0000)]
Merge pull request #422 from cyberious/assert_private
Assert private
Travis Fields [Thu, 5 Mar 2015 19:01:31 +0000 (11:01 -0800)]
Add private function back and forward to assert_private with deprecation warning
Hunter Haugen [Thu, 5 Mar 2015 19:00:36 +0000 (11:00 -0800)]
Merge pull request #369 from rfugina/dirname_typecheck
Dirname typecheck
Franz Pletz [Fri, 19 Dec 2014 11:25:21 +0000 (12:25 +0100)]
Rename private() to assert_private()
As mentioned in #270, private is a reserved keyword in the future parser
which is to be released with Puppet 4. As it stands, this function is
not useable with the future parser so it needs to renamed.
This is a breaking change.
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 [Tue, 18 Nov 2014 18:34:55 +0000 (12:34 -0600)]
Added type checks for dirname(), and additional tests
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