Morgan Haskel
0a8963fbd3
Merge pull request #357 from hunner/hasInterfaceWithLookupBug
...
(PUP-3597) Catch :undefined_variable when Future Parser is enabled on 3.7.x
2014-11-10 17:15:11 -08:00
Hunter Haugen
4949cfd21c
Fix breaking out of .each loop
...
And some other small formatting fixes that don't belong in this patch.
2014-11-10 16:37:53 -08:00
Travis Fields
992ed8ffa8
Remove windows from ensure_package and ensure_resource testing
2014-11-10 16:34:05 -08:00
Travis Fields
c52e262a17
Catch :undefined_variable thrown when Future Parser is enabled with 3.7.x
2014-11-10 16:33:18 -08:00
Hunter Haugen
d8b86fdcc2
Merge branch 'master' into 4.4.x
2014-11-10 13:42:28 -08:00
Hunter Haugen
85d7eddc41
Merge pull request #356 from justinstoller/maint/master/segregate-gems
...
(QENG-1404) Segregate system testing gems
2014-11-10 13:28:04 -08:00
Justin Stoller
66434f9036
(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`.
2014-11-10 11:56:40 -08:00
Morgan Haskel
19f2dd359e
Merge pull request #355 from hunner/release_4.4.0
...
Release 4.4.0
2014-11-10 11:43:00 -08:00
Hunter Haugen
cbc55084c8
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
2014-11-10 11:42:03 -08:00
Morgan Haskel
850297b560
Merge pull request #354 from puppetlabs/4.3.x
...
4.3.x
2014-11-10 11:10:41 -08:00
Travis Fields
406e9dbda2
Merge pull request #343 from zacharyalexstern/fix_to_bytes
...
Added correct converstions for PB and EB.
2014-11-07 13:42:48 -08:00
Morgan Haskel
03f0ecd128
Merge pull request #350 from cyberious/modules1413
...
MODULES-1413 Add ability for member to take numeric objects
2014-11-04 15:29:25 -08:00
Travis Fields
f19aea5a75
MODULES-1413 Ability to for future parser to use member with FixNum types
2014-11-04 14:33:34 -08:00
Travis Fields
4bff0d2d61
Merge branch '4.3.x'
...
Conflicts:
spec/acceptance/ensure_packages_spec.rb
spec/acceptance/ensure_resource_spec.rb
2014-11-04 14:17:03 -08:00
Morgan Haskel
2f3d426ba7
Merge pull request #353 from cyberious/WindowsTestIsolationFix
...
Fix the unless for test cases on ensure_package and ensure_resource
2014-11-04 10:48:25 -08:00
Travis Fields
26e864f224
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
2014-11-04 10:45:13 -08:00
Travis Fields
35c2dc7ca3
Merge branch '4.3.x'
2014-10-30 10:23:12 -07:00
Morgan Haskel
0db72ea777
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
2014-10-30 10:21:36 -07:00
Travis Fields
6c7da72c0f
Fix validate_cmd, previous addition of SystemCallError only works for Puppet 3.7, previous version throw different exception. Wrapping in generic Exception catch all
2014-10-29 20:03:07 -07:00
Travis Fields
12f734476c
Merge remote-tracking branch 'origin/4.3.x'
2014-10-29 12:52:52 -07:00
Morgan Haskel
385f009488
Merge pull request #348 from cyberious/4.3.x
...
Add proper exception catching of Windows errors when CreateProcess does not succeed
2014-10-29 15:42:52 -04:00
Travis Fields
328aae223f
Add proper exception catching of Windows errors when CreateProcess does not succeed
2014-10-29 11:47:57 -07:00
Colleen Murphy
88b6b29ea2
Merge pull request #347 from cyberious/master
...
Fix issue with ensure_request
2014-10-28 16:46:39 -07:00
Travis Fields
2b1cc82d24
Add windows test exclusion to ensure_resource
2014-10-28 16:43:15 -07:00
Colleen Murphy
6f366ed646
Merge pull request #346 from cyberious/master
...
Spec_helper_acceptance fix provision section
2014-10-28 16:12:54 -07:00
Travis Fields
9f68fd300f
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
2014-10-28 16:10:50 -07:00
Colleen Murphy
6e94a700f2
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
2014-10-28 15:37:46 -07:00
Travis Fields
5497f83507
Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
2014-10-28 15:35:56 -07:00
Travis Fields
a6f3f781d1
Merge remote-tracking branch 'origin/4.3.x' back to master
2014-10-28 15:31:37 -07:00
Colleen Murphy
cfc79e9831
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
2014-10-28 15:30:17 -07:00
Travis Fields
51f1d574d9
Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string
2014-10-28 15:27:24 -07:00
Zachary Alex Stern
9295d0d5ca
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.
2014-10-28 13:14:06 -07:00
Travis Fields
9dea092979
Merge branch '4.3.x', add tempfile back for resource validate_cmd and validate_augeas
2014-10-24 16:41:05 -07:00
John Duarte
759cbdec88
Merge pull request #340 from cyberious/4.3.x
...
add require 'tempfile' to resolve a previously autorequired resource
2014-10-24 16:38:30 -07:00
Travis Fields
624ccbd22c
add require 'tempfile' to resolve a previously autorequired resource
2014-10-24 16:35:34 -07:00
Travis Fields
f0b207c035
Merge branch '4.3.x'
...
Conflicts:
README.markdown
lib/puppet/parser/functions/has_interface_with.rb
2014-10-24 14:30:01 -07:00
Mathias Klette
0d11bde507
ensure_resource: be more verbose in debug mode
...
helps discovering duplication issues, especially when figthing boolean vs. string arguments
2014-10-10 22:57:26 +02:00
Morgan Haskel
0c0f7e13cd
Merge pull request #262 from tremble/MODULES-707
...
Modules 707
2014-10-09 13:33:06 -04:00
Hunter Haugen
9bbc62d12a
Merge pull request #335 from jbondpdx/stdlib-readme
...
DOC-248 Revised and updated readme for stdlib module
2014-10-09 10:10:34 -07:00
jbondpdx
2fcc1ef189
DOC-248 Revised and updated readme for stdlib module
...
Reorganized and edited stdlib module readme.
2014-10-08 11:42:31 -07:00
Colleen Murphy
cb6c7d8e49
Merge pull request #334 from cyberious/WindowsHasInterfacesBug
...
ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing...
2014-10-08 11:33:10 -07:00
Travis Fields
8ad7f68eca
ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing us not to return some interfaces
2014-10-08 10:14:10 -07:00
Hunter Haugen
0cd08b377b
Merge pull request #303 from bobtfish/fix_strict_variables
...
Fix strict_variables = true
2014-09-24 15:47:13 -07:00
Hunter Haugen
a44cf3e462
Merge pull request #302 from 3flex/update-readme
...
(MODULES-927) Update readme
2014-09-22 17:06:16 -07:00
Tomas Doran
032f93af1d
Fix strict_variables = true
2014-09-22 14:43:27 -07:00
Mark Chappell
23bc7d51bd
Re-use existing str2bool code rather than doing a copy and paste
2014-09-22 19:49:50 +02:00
Mark Chappell
e2d7f3bb89
(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
2014-09-22 19:49:50 +02:00
Hunter Haugen
b347cc83e2
Merge pull request #320 from JimPanic/patch-2
...
Update docs of validate_string to reflect bug
2014-09-17 09:44:51 -07:00
Hunter Haugen
c1ff630b16
Merge pull request #321 from cyberious/4.3.x
...
MODULES-1248 Fix issue with not properly counting regex matches with leg...
2014-09-16 14:30:10 -07:00
Travis Fields
acf435d1ce
MODULES-1248 Fix issue with not properly counting regex matches with legacy versions of ruby
2014-09-16 13:41:39 -07:00