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
Travis Fields
4a79fd063a
Merge pull request #322 from hunner/remove_simplecov
...
Remove simplecov
2014-09-16 13:39:21 -07:00
Hunter Haugen
cf8d144caf
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 a7c129b22d
)
2014-09-16 12:01:24 -07:00
Alexander Pánek
6631934df8
Note that also future parser does not work
2014-09-16 19:03:02 +02:00
Alexander Pánek
448e66b8bb
Updated docs of validate_string to reflect bug
...
See: https://tickets.puppetlabs.com/browse/MODULES-457
2014-09-16 17:55:26 +02:00
Angel L. Mateo
b9560df899
Check if file exists before loading with loadyaml. If not, return nil
2014-09-02 11:35:42 +02:00
Ashley Penney
9e8127bb64
Merge pull request #313 from mhaskel/spec_updates
...
Update spec_helper for more consistency
2014-08-28 18:32:56 -04:00
Morgan Haskel
2023692fc9
Update spec_helper for more consistency
2014-08-28 18:30:39 -04:00
Ashley Penney
e6eb863a2a
Merge pull request #308 from hunner/remove_cov
...
Remove simplecov
2014-08-06 12:43:21 -04:00
Hunter Haugen
a7c129b22d
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.
2014-08-05 11:28:18 -07:00