summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-12Make the range function work with integersErik Dalén
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').
2014-11-12(maint) Fix indentation of range functionErik Dalén
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 #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...
2014-09-16MODULES-1248 Fix issue with not properly counting regex matches with legacy ↵Travis Fields
versions of ruby
2014-09-16Merge pull request #322 from hunner/remove_simplecovTravis Fields
Remove simplecov
2014-09-16Remove simplecovHunter Haugen
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)
2014-09-16Note that also future parser does not workAlexander Pánek
2014-09-16Updated docs of validate_string to reflect bugAlexander Pánek
See: https://tickets.puppetlabs.com/browse/MODULES-457
2014-08-28Merge pull request #313 from mhaskel/spec_updatesAshley Penney
Update spec_helper for more consistency
2014-08-28Update spec_helper for more consistencyMorgan Haskel