Age | Commit message (Collapse) | Author |
|
Correct type() logic
|
|
It should NOT run if the future parser is enabled
|
|
(PUP-3597) Catch :undefined_variable when Future Parser is enabled on 3.7.x
|
|
And some other small formatting fixes that don't belong in this patch.
|
|
|
|
|
|
|
|
(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`.
|
|
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
|
|
4.3.x
|
|
Added correct converstions for PB and EB.
|
|
MODULES-1413 Add ability for member to take numeric objects
|
|
|
|
Conflicts:
spec/acceptance/ensure_packages_spec.rb
spec/acceptance/ensure_resource_spec.rb
|
|
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
|
|
|
|
Fix validate_cmd, previous addition of SystemCallError only works for Puppet 3.7, previous version throw different exception. Wrapping in generic Exception catch all
|
|
3.7, previous version throw different exception. Wrapping in generic Exception catch all
|
|
|
|
Add proper exception catching of Windows errors when CreateProcess does not succeed
|
|
succeed
|
|
Fix issue with ensure_request
|
|
|
|
Spec_helper_acceptance fix provision section
|
|
which was not relavent to the host we were modifying
|
|
Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
|
|
ruby and gem are not on the install path
|
|
|
|
Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string
|
|
that it was dealing with a string
|
|
* 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.
|
|
validate_augeas
|
|
add require 'tempfile' to resolve a previously autorequired resource
|
|
|
|
Conflicts:
README.markdown
lib/puppet/parser/functions/has_interface_with.rb
|
|
Modules 707
|
|
DOC-248 Revised and updated readme for stdlib module
|
|
Reorganized and edited stdlib module readme.
|
|
ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing...
|
|
not to return some interfaces
|
|
Fix strict_variables = true
|
|
(MODULES-927) Update readme
|
|
|
|
|
|
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
|
|
Update docs of validate_string to reflect bug
|
|
MODULES-1248 Fix issue with not properly counting regex matches with leg...
|