summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-11Merge pull request #358 from hunner/fix_typeMorgan Haskel
Correct type() logic
2014-11-11Correct type() logicHunter Haugen
It should NOT run if the future parser is enabled
2014-11-10Merge pull request #357 from hunner/hasInterfaceWithLookupBugMorgan Haskel
(PUP-3597) Catch :undefined_variable when Future Parser is enabled on 3.7.x
2014-11-10Fix breaking out of .each loopHunter Haugen
And some other small formatting fixes that don't belong in this patch.
2014-11-10Remove windows from ensure_package and ensure_resource testingTravis Fields
2014-11-10Catch :undefined_variable thrown when Future Parser is enabled with 3.7.xTravis Fields
2014-11-10Merge branch 'master' into 4.4.xHunter Haugen
2014-11-10Merge pull request #356 from justinstoller/maint/master/segregate-gemsHunter Haugen
(QENG-1404) Segregate system testing gems
2014-11-10(QENG-1404) Segregate system testing gemsJustin Stoller
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-10Merge pull request #355 from hunner/release_4.4.0Morgan Haskel
Release 4.4.0
2014-11-10Release 4.4.0Hunter Haugen
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-10Merge pull request #354 from puppetlabs/4.3.xMorgan Haskel
4.3.x
2014-11-07Merge pull request #343 from zacharyalexstern/fix_to_bytesTravis Fields
Added correct converstions for PB and EB.
2014-11-04Merge pull request #350 from cyberious/modules1413Morgan Haskel
MODULES-1413 Add ability for member to take numeric objects
2014-11-04MODULES-1413 Ability to for future parser to use member with FixNum typesTravis Fields
2014-11-04Merge branch '4.3.x'Travis Fields
Conflicts: spec/acceptance/ensure_packages_spec.rb spec/acceptance/ensure_resource_spec.rb
2014-11-04Merge pull request #353 from cyberious/WindowsTestIsolationFixMorgan Haskel
Fix the unless for test cases on ensure_package and ensure_resource
2014-11-04Fix the unless for test cases on ensure_package and ensure_resourceTravis Fields
Conflicts: spec/acceptance/ensure_packages_spec.rb spec/acceptance/ensure_resource_spec.rb
2014-10-30Merge branch '4.3.x'Travis Fields
2014-10-30Merge pull request #349 from cyberious/4.3.xMorgan Haskel
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-29Fix validate_cmd, previous addition of SystemCallError only works for Puppet ↵Travis Fields
3.7, previous version throw different exception. Wrapping in generic Exception catch all
2014-10-29Merge remote-tracking branch 'origin/4.3.x'Travis Fields
2014-10-29Merge pull request #348 from cyberious/4.3.xMorgan Haskel
Add proper exception catching of Windows errors when CreateProcess does not succeed
2014-10-29Add proper exception catching of Windows errors when CreateProcess does not ↵Travis Fields
succeed
2014-10-28Merge pull request #347 from cyberious/masterColleen Murphy
Fix issue with ensure_request
2014-10-28Add windows test exclusion to ensure_resourceTravis Fields
2014-10-28Merge pull request #346 from cyberious/masterColleen Murphy
Spec_helper_acceptance fix provision section
2014-10-28Fixed a mistake where we were trying to touch a host file using the default ↵Travis Fields
which was not relavent to the host we were modifying
2014-10-28Merge pull request #345 from cyberious/masterColleen Murphy
Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
2014-10-28Fix logic issue with not including windows for testing ensure_packages as ↵Travis Fields
ruby and gem are not on the install path
2014-10-28Merge remote-tracking branch 'origin/4.3.x' back to masterTravis Fields
2014-10-28Merge pull request #344 from cyberious/TestCaseFixesColleen Murphy
Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string
2014-10-28Fix testcases for Future Parser and resolve issue with values_at in assuming ↵Travis Fields
that it was dealing with a string
2014-10-28Added correct converstions for PB and EB.Zachary Alex Stern
* 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-24Merge branch '4.3.x', add tempfile back for resource validate_cmd and ↵Travis Fields
validate_augeas
2014-10-24Merge pull request #340 from cyberious/4.3.xJohn Duarte
add require 'tempfile' to resolve a previously autorequired resource
2014-10-24add require 'tempfile' to resolve a previously autorequired resourceTravis Fields
2014-10-24Merge branch '4.3.x'Travis Fields
Conflicts: README.markdown lib/puppet/parser/functions/has_interface_with.rb
2014-10-09Merge pull request #262 from tremble/MODULES-707Morgan Haskel
Modules 707
2014-10-09Merge pull request #335 from jbondpdx/stdlib-readmeHunter Haugen
DOC-248 Revised and updated readme for stdlib module
2014-10-08DOC-248 Revised and updated readme for stdlib modulejbondpdx
Reorganized and edited stdlib module readme.
2014-10-08Merge pull request #334 from cyberious/WindowsHasInterfacesBugColleen Murphy
ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing...
2014-10-08ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing us ↵Travis Fields
not to return some interfaces
2014-09-24Merge pull request #303 from bobtfish/fix_strict_variablesHunter Haugen
Fix strict_variables = true
2014-09-22Merge pull request #302 from 3flex/update-readmeHunter Haugen
(MODULES-927) Update readme
2014-09-22Fix strict_variables = trueTomas Doran
2014-09-22Re-use existing str2bool code rather than doing a copy and pasteMark Chappell
2014-09-22(MODULES-707) chomp() fails because generate() no longer returns a stringMark Chappell
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-17Merge pull request #320 from JimPanic/patch-2Hunter Haugen
Update docs of validate_string to reflect bug
2014-09-16Merge pull request #321 from cyberious/4.3.xHunter Haugen
MODULES-1248 Fix issue with not properly counting regex matches with leg...