]>
gitweb.fluxo.info Git - puppet-stdlib.git/log
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
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.
Morgan Haskel [Tue, 4 Nov 2014 23:29:25 +0000 (15:29 -0800)]
Merge pull request #350 from cyberious/modules1413
MODULES-1413 Add ability for member to take numeric objects
Travis Fields [Thu, 30 Oct 2014 05:02:13 +0000 (22:02 -0700)]
MODULES-1413 Ability to for future parser to use member with FixNum types
Travis Fields [Tue, 4 Nov 2014 22:17:03 +0000 (14:17 -0800)]
Merge branch '4.3.x'
Conflicts:
spec/acceptance/ensure_packages_spec.rb
spec/acceptance/ensure_resource_spec.rb
Morgan Haskel [Tue, 4 Nov 2014 18:48:25 +0000 (10:48 -0800)]
Merge pull request #353 from cyberious/WindowsTestIsolationFix
Fix the unless for test cases on ensure_package and ensure_resource
Travis Fields [Tue, 4 Nov 2014 18:42:34 +0000 (10:42 -0800)]
Fix the unless for test cases on ensure_package and ensure_resource
Conflicts:
spec/acceptance/ensure_packages_spec.rb
spec/acceptance/ensure_resource_spec.rb
Travis Fields [Thu, 30 Oct 2014 17:23:12 +0000 (10:23 -0700)]
Merge branch '4.3.x'
Morgan Haskel [Thu, 30 Oct 2014 17:21:36 +0000 (10:21 -0700)]
Merge pull request #349 from cyberious/4.3.x
Fix validate_cmd, previous addition of SystemCallError only works for Puppet 3.7, previous version throw different exception. Wrapping in generic Exception catch all
Travis Fields [Thu, 30 Oct 2014 03:03:07 +0000 (20:03 -0700)]
Fix validate_cmd, previous addition of SystemCallError only works for Puppet 3.7, previous version throw different exception. Wrapping in generic Exception catch all
Travis Fields [Wed, 29 Oct 2014 19:52:52 +0000 (12:52 -0700)]
Merge remote-tracking branch 'origin/4.3.x'
Morgan Haskel [Wed, 29 Oct 2014 19:42:52 +0000 (15:42 -0400)]
Merge pull request #348 from cyberious/4.3.x
Add proper exception catching of Windows errors when CreateProcess does not succeed
Travis Fields [Tue, 28 Oct 2014 23:46:16 +0000 (16:46 -0700)]
Add proper exception catching of Windows errors when CreateProcess does not succeed
Colleen Murphy [Tue, 28 Oct 2014 23:46:39 +0000 (16:46 -0700)]
Merge pull request #347 from cyberious/master
Fix issue with ensure_request
Travis Fields [Tue, 28 Oct 2014 23:43:15 +0000 (16:43 -0700)]
Add windows test exclusion to ensure_resource
Colleen Murphy [Tue, 28 Oct 2014 23:12:54 +0000 (16:12 -0700)]
Merge pull request #346 from cyberious/master
Spec_helper_acceptance fix provision section
Travis Fields [Tue, 28 Oct 2014 23:10:50 +0000 (16:10 -0700)]
Fixed a mistake where we were trying to touch a host file using the default which was not relavent to the host we were modifying
Colleen Murphy [Tue, 28 Oct 2014 22:37:46 +0000 (15:37 -0700)]
Merge pull request #345 from cyberious/master
Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
Travis Fields [Tue, 28 Oct 2014 22:35:56 +0000 (15:35 -0700)]
Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
Travis Fields [Tue, 28 Oct 2014 22:31:37 +0000 (15:31 -0700)]
Merge remote-tracking branch 'origin/4.3.x' back to master
Colleen Murphy [Tue, 28 Oct 2014 22:30:17 +0000 (15:30 -0700)]
Merge pull request #344 from cyberious/TestCaseFixes
Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string
Travis Fields [Tue, 28 Oct 2014 22:27:24 +0000 (15:27 -0700)]
Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string
Zachary Alex Stern [Tue, 28 Oct 2014 20:14:06 +0000 (13:14 -0700)]
Added correct converstions for PB and EB.
* We were converting Exabytes to bytes as Petabytes.
* Updated tests to cover ever unit.
* Added note that we're going by the old, inaccurate definitions of
Kilobytes, Megabytes, etc, in that we treat them as powers of 2.
Travis Fields [Fri, 24 Oct 2014 23:41:05 +0000 (16:41 -0700)]
Merge branch '4.3.x', add tempfile back for resource validate_cmd and validate_augeas
John Duarte [Fri, 24 Oct 2014 23:38:30 +0000 (16:38 -0700)]
Merge pull request #340 from cyberious/4.3.x
add require 'tempfile' to resolve a previously autorequired resource
Travis Fields [Fri, 24 Oct 2014 23:35:34 +0000 (16:35 -0700)]
add require 'tempfile' to resolve a previously autorequired resource
Travis Fields [Fri, 24 Oct 2014 21:30:01 +0000 (14:30 -0700)]
Merge branch '4.3.x'
Conflicts:
README.markdown
lib/puppet/parser/functions/has_interface_with.rb
Morgan Haskel [Thu, 9 Oct 2014 17:33:06 +0000 (13:33 -0400)]
Merge pull request #262 from tremble/MODULES-707
Modules 707
Hunter Haugen [Thu, 9 Oct 2014 17:10:34 +0000 (10:10 -0700)]
Merge pull request #335 from jbondpdx/stdlib-readme
DOC-248 Revised and updated readme for stdlib module
jbondpdx [Wed, 8 Oct 2014 18:42:31 +0000 (11:42 -0700)]
DOC-248 Revised and updated readme for stdlib module
Reorganized and edited stdlib module readme.
Colleen Murphy [Wed, 8 Oct 2014 18:33:10 +0000 (11:33 -0700)]
Merge pull request #334 from cyberious/WindowsHasInterfacesBug
ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing...
Travis Fields [Wed, 8 Oct 2014 17:14:10 +0000 (10:14 -0700)]
ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing us not to return some interfaces
Hunter Haugen [Wed, 24 Sep 2014 22:47:13 +0000 (15:47 -0700)]
Merge pull request #303 from bobtfish/fix_strict_variables
Fix strict_variables = true
Hunter Haugen [Tue, 23 Sep 2014 00:06:16 +0000 (17:06 -0700)]
Merge pull request #302 from 3flex/update-readme
(MODULES-927) Update readme
Tomas Doran [Fri, 18 Jul 2014 21:36:09 +0000 (14:36 -0700)]
Fix strict_variables = true
Mark Chappell [Fri, 23 May 2014 06:44:50 +0000 (08:44 +0200)]
Re-use existing str2bool code rather than doing a copy and paste
Mark Chappell [Tue, 22 Apr 2014 07:36:28 +0000 (09:36 +0200)]
(MODULES-707) chomp() fails because generate() no longer returns a string
We need to use
unless value.is_a?(String) || value.is_a?(Array)
rather than
klass = value.class
unless [String, Array].include?(klass)
because the klass version enforces type checking which is too strict, and does
not allow us to accept objects wich have extended String (or Array).
For example, generate() function now returns Puppet::Util::Execution::ProcessOutput
which is just a very simple extension of String. While this in it's self was
not intentional (PUP-2306) it is not unreasonable to cope with objects which
extend Strings
Hunter Haugen [Wed, 17 Sep 2014 16:44:51 +0000 (09:44 -0700)]
Merge pull request #320 from JimPanic/patch-2
Update docs of validate_string to reflect bug
Hunter Haugen [Tue, 16 Sep 2014 21:30:10 +0000 (14:30 -0700)]
Merge pull request #321 from cyberious/4.3.x
MODULES-1248 Fix issue with not properly counting regex matches with leg...
Travis Fields [Tue, 16 Sep 2014 17:46:19 +0000 (10:46 -0700)]
MODULES-1248 Fix issue with not properly counting regex matches with legacy versions of ruby
Travis Fields [Tue, 16 Sep 2014 20:39:21 +0000 (13:39 -0700)]
Merge pull request #322 from hunner/remove_simplecov
Remove simplecov
Hunter Haugen [Tue, 5 Aug 2014 18:28:18 +0000 (11:28 -0700)]
Remove simplecov
simplecov 0.9 dropped ruby 1.8 support, and stdlib is one of the oddball
modules that uses it. So we could probably just remove it and be okay.
(cherry picked from commit
a7c129b22d91fc723a8176c066a3eb96b03a2f56 )
Alexander Pánek [Tue, 16 Sep 2014 17:03:02 +0000 (19:03 +0200)]
Note that also future parser does not work
Alexander Pánek [Tue, 16 Sep 2014 15:55:26 +0000 (17:55 +0200)]
Updated docs of validate_string to reflect bug
See: https://tickets.puppetlabs.com/browse/MODULES-457
Ashley Penney [Thu, 28 Aug 2014 22:32:56 +0000 (18:32 -0400)]
Merge pull request #313 from mhaskel/spec_updates
Update spec_helper for more consistency
Morgan Haskel [Thu, 28 Aug 2014 22:30:39 +0000 (18:30 -0400)]
Update spec_helper for more consistency
Ashley Penney [Wed, 6 Aug 2014 16:43:21 +0000 (12:43 -0400)]
Merge pull request #308 from hunner/remove_cov
Remove simplecov
Hunter Haugen [Tue, 5 Aug 2014 18:28:18 +0000 (11:28 -0700)]
Remove simplecov
simplecov 0.9 dropped ruby 1.8 support, and stdlib is one of the oddball
modules that uses it. So we could probably just remove it and be okay.
Hunter Haugen [Tue, 5 Aug 2014 17:55:58 +0000 (10:55 -0700)]
Merge branch '4.3.x'
Ashley Penney [Thu, 31 Jul 2014 19:01:20 +0000 (15:01 -0400)]
Merge pull request #306 from hunner/fix_concat
(MODULES-1195) Rebase of #202
Spencer Krum [Wed, 20 Nov 2013 04:11:08 +0000 (20:11 -0800)]
Introduce test for array destruction
It was discovered that the concat array modifies the arrays passed to it
as an argument as a side effect. This test will ensure that doesn't
happen again.
Colleen Murphy [Wed, 20 Nov 2013 04:24:46 +0000 (20:24 -0800)]
Concatenate arrays without modifying the first array
Matthew Haughton [Thu, 17 Jul 2014 15:06:00 +0000 (11:06 -0400)]
(MODULES-927) Update docs for functions in README
* range (take an optional third argument for range step)
* validate_slength (take an optional third argument for minimum length)
* file_line (take after and multiple attributes)
Matthew Haughton [Thu, 17 Jul 2014 14:48:25 +0000 (10:48 -0400)]
(MODULES-927) Add missing functions to README
* anchor
* bool2str
* camelcase
* deep_merge
* pick_default
* validate_ipv4_address
* validate_ipv6_address
Hunter Haugen [Wed, 16 Jul 2014 21:07:39 +0000 (14:07 -0700)]
Merge pull request #300 from trlinkin/file_line_docs
(MODULES-1221) Add file_line autorequire documentation
Thomas Linkin [Wed, 16 Jul 2014 15:39:23 +0000 (11:39 -0400)]
(MODULES-1221) Add file_line autorequire documentation
This commit adds additional documentation to the file_line resource
explaining how it will autorequire file resources when present.
Travis Fields [Tue, 15 Jul 2014 16:17:39 +0000 (09:17 -0700)]
Merge pull request #299 from apenney/432-release
Prepare a 4.3.2 release.
Ashley Penney [Tue, 15 Jul 2014 15:27:47 +0000 (11:27 -0400)]
Prepare a 4.3.2 release.
Ashley Penney [Mon, 14 Jul 2014 22:56:14 +0000 (18:56 -0400)]
Merge pull request #298 from hunner/release_4.3.1
Release 4.3.1
Hunter Haugen [Mon, 14 Jul 2014 22:55:06 +0000 (15:55 -0700)]
Release 4.3.1
Summary
This supported release updates the metadata.json to work around upgrade
behavior of the PMT.
Bugfixes
- Synchronize metadata.json with PMT-generated metadata to pass
checksums
Ashley Penney [Mon, 14 Jul 2014 22:52:13 +0000 (18:52 -0400)]
Merge pull request #297 from hunner/fix_metadata
Correct metadata.json to match checksum
Hunter Haugen [Mon, 14 Jul 2014 22:51:21 +0000 (15:51 -0700)]
Correct metadata.json to match checksum
Ashley Penney [Tue, 8 Jul 2014 20:47:28 +0000 (16:47 -0400)]
Merge pull request #296 from hunner/case_aix
AIX has no facter network support
Hunter Haugen [Tue, 8 Jul 2014 20:45:36 +0000 (13:45 -0700)]
AIX has no facter network support
These functions take advantage of IP fact information and AIX does not
appear to support dynamic interface detection in facter.
Hunter Haugen [Mon, 30 Jun 2014 19:08:57 +0000 (12:08 -0700)]
Merge pull request #295 from cmurphy/master
Synchronize .travis.yml
Ashley Penney [Fri, 27 Jun 2014 19:35:00 +0000 (15:35 -0400)]
Merge pull request #294 from hunner/release_4.3.0
Release 4.3.0
Hunter Haugen [Fri, 27 Jun 2014 19:30:27 +0000 (12:30 -0700)]
Release 4.3.0
Summary:
This release is the first supported release of the stdlib 4 series. It
emains backwards-compatible with the stdlib 3 series. It adds two new
unctions, one bugfix, and many testin
Features:
- New `bool2str()` function
- New `camalcase()` function
Bugfixes:
- Fix `has_interface_with()` when interfaces fact is nil
Colleen Murphy [Fri, 27 Jun 2014 17:55:25 +0000 (10:55 -0700)]
Synchronize .travis.yml
Colleen Murphy [Fri, 27 Jun 2014 17:03:48 +0000 (10:03 -0700)]
Update .sync.yml to support new .travis.yml configs
Morgan Haskel [Thu, 26 Jun 2014 20:57:10 +0000 (16:57 -0400)]
Merge pull request #293 from hunner/fix_chop
Gotta single quote yer typewriter buttons
Hunter Haugen [Thu, 26 Jun 2014 20:55:57 +0000 (13:55 -0700)]
Gotta single quote yer typewriter buttons
Hunter Haugen [Thu, 26 Jun 2014 20:18:03 +0000 (13:18 -0700)]
Merge pull request #292 from hunner/fix_rm
Need quotes for spaces in path
Hunter Haugen [Thu, 26 Jun 2014 20:17:07 +0000 (13:17 -0700)]
Need quotes for spaces in path
Hunter Haugen [Thu, 26 Jun 2014 20:13:19 +0000 (13:13 -0700)]
Merge pull request #291 from hunner/no_network_win
has_ip_network doesn't work on windows either
Hunter Haugen [Thu, 26 Jun 2014 20:12:39 +0000 (13:12 -0700)]
has_ip_network doesn't work on windows either
Ashley Penney [Thu, 26 Jun 2014 18:00:40 +0000 (14:00 -0400)]
Merge pull request #290 from cmurphy/master
Start synchronizing module files