]>
gitweb.fluxo.info Git - puppet-stdlib.git/log
Jorie Tappa [Tue, 5 May 2015 00:23:16 +0000 (17:23 -0700)]
DOC-1504: README edits
David Schmitt [Thu, 7 May 2015 10:03:39 +0000 (11:03 +0100)]
Merge pull request #449 from puppetlabs/modulesync_updates
sync via modulesync
Morgan Haskel [Wed, 6 May 2015 21:10:40 +0000 (14:10 -0700)]
sync via modulesync
TP Honey [Wed, 6 May 2015 12:55:22 +0000 (13:55 +0100)]
Merge pull request #448 from DavidS/fix_range
range(): fix TypeError(can't convert nil into Integer) when using range ...
David Schmitt [Wed, 6 May 2015 09:13:27 +0000 (10:13 +0100)]
range(): fix TypeError(can't convert nil into Integer) when using range syntax
David Schmitt [Wed, 6 May 2015 08:48:31 +0000 (09:48 +0100)]
Merge pull request #447 from elyscape/fix_range
Restore removed functionality to range()
David Schmitt [Wed, 6 May 2015 08:11:37 +0000 (09:11 +0100)]
Merge pull request #446 from elyscape/fix_pw_hash
Fix pw_hash() on JRuby < 1.7.17
Eli Young [Tue, 5 May 2015 22:52:31 +0000 (15:52 -0700)]
range: Clean up and clarify function contents
Eli Young [Tue, 5 May 2015 22:44:08 +0000 (15:44 -0700)]
Revert "range: remove dead code"
This reverts commit
063c58a992c1b5441b7e7b2a2e4886531035bb25 , which
actually removed non-dead code. Specifically, it removed the ability to
make calls such as `range('2..3')`, `range('2...3')`, and
`range('2-3')`.
cf. https://github.com/puppetlabs/puppetlabs-stdlib/pull/443#commitcomment-
11055565
Eli Young [Tue, 5 May 2015 22:16:35 +0000 (15:16 -0700)]
pw_hash: Fix functionality on JRuby < 1.7.17
The previous change to this function broke it on JRuby before 1.7.17 by
attempting to use a variable that wasn't defined (`salt`). To fix this,
define `salt` ahead of time and use that instead of building the salt
later.
cf. https://github.com/puppetlabs/puppetlabs-stdlib/pull/443#discussion_r29718588
TP Honey [Tue, 5 May 2015 13:35:48 +0000 (14:35 +0100)]
Merge pull request #443 from DavidS/prep-work-for-new-specs
Prep work for new specs
David Schmitt [Wed, 29 Apr 2015 11:13:08 +0000 (12:13 +0100)]
validate_augeas: fix URL to docs
David Schmitt [Wed, 22 Apr 2015 23:21:21 +0000 (16:21 -0700)]
range: remove dead code
Since a ParseError is always thrown for zero arguments, the if and all
dependent code can be removed.
David Schmitt [Wed, 22 Apr 2015 23:04:00 +0000 (16:04 -0700)]
pw_hash: avoid ruby magic when running on java
David Schmitt [Tue, 5 May 2015 09:53:04 +0000 (10:53 +0100)]
spec_helper: Remove unneccesary stubbing
This only roots all Facter instances into memory, while something already
creates a new Facter instance each run.
David Schmitt [Tue, 5 May 2015 12:30:54 +0000 (13:30 +0100)]
spec_helper: use proper mocha import to avoid warning
David Schmitt [Wed, 15 Apr 2015 23:46:09 +0000 (16:46 -0700)]
spec_helper: set parser config if requested
David Schmitt [Thu, 9 Apr 2015 14:56:43 +0000 (15:56 +0100)]
spec_helper_acceptance: fix FUTURE_PARSER usage
Use the more common "yes", instead of "true" to detect FUTURE_PARSER.
David Schmitt [Wed, 15 Apr 2015 23:55:28 +0000 (16:55 -0700)]
specs: move function specs to where rspec-puppet expects them
David Schmitt [Thu, 23 Apr 2015 23:37:01 +0000 (16:37 -0700)]
specs: loosen certain error expectations to make tests pass on future parser
Hunter Haugen [Mon, 20 Apr 2015 17:21:40 +0000 (10:21 -0700)]
Merge pull request #441 from mrzarquon/change_stdlib_to_include
uses include type class declaration
Chris Barker [Mon, 20 Apr 2015 17:06:00 +0000 (10:06 -0700)]
uses include type class declaration
previous behavior used class { 'stdlib::stages':} which isn't singleton and could cause duplication resource declaration on the stages class.
Since many community modules work by calling 'include stdlib' we should make stdlib's include of stages singleton as well.
TP Honey [Sat, 18 Apr 2015 19:51:17 +0000 (20:51 +0100)]
Merge pull request #440 from DavidS/fix-error-message
fqdn_rand_string: fix argument error message
David Schmitt [Fri, 17 Apr 2015 21:24:40 +0000 (14:24 -0700)]
fqdn_rand_string: fix argument error message
Morgan Haskel [Thu, 16 Apr 2015 18:55:42 +0000 (11:55 -0700)]
Merge pull request #439 from puppetlabs/4.6.x
4.6.x
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
Bryan Jen [Tue, 14 Apr 2015 22:26:49 +0000 (15:26 -0700)]
Merge pull request #438 from hunner/fix_date
Fix the 4.6.0 release date
Hunter Haugen [Tue, 14 Apr 2015 22:24:50 +0000 (15:24 -0700)]
Fix the 4.6.0 release date
Morgan Haskel [Tue, 14 Apr 2015 18:41:51 +0000 (11:41 -0700)]
Merge pull request #437 from hunner/release_4.6.0
Prep for 4.6.0
Hunter Haugen [Tue, 14 Apr 2015 18:39:22 +0000 (11:39 -0700)]
Prep for 4.6.0
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.