Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-16 | Remove line match validation | Hunter Haugen | |
The `match` attribute was validated to match `line`, except that in many cases (even the example given in the docs) a user would want to match a line entirely different from the new line. See comments on the original commit https://github.com/puppetlabs/puppetlabs-stdlib/commit/a06c0d8115892a74666676b50d4282df9850a119 and ask https://ask.puppetlabs.com/question/14366/file_line-resource-match-problems/ for further examples of confusion. | |||
2014-12-04 | Add new functions validate_numeric() and validate_integer(). | Oliver Bertuch | |
2014-12-04 | (MODULES-444) - Check for accepting > 2 args | Peter Souter | |
2014-12-04 | (MODULES-444) Change test to > 2 arguments | Peter Souter | |
Also add extra test for just 1 argument | |||
2014-12-04 | (MODULES-444) Acceptance for multiple arrays | Peter Souter | |
Acceptance test to take multiple arrays for concatenation | |||
2014-12-04 | (MODULES-444) Acceptance test for primitives | Peter Souter | |
`concat` should be able to concat arrays and primitives | |||
2014-12-04 | (MODULES-444) Add specs for new behaviour | Peter Souter | |
`concat` can now take multiple arguments | |||
2014-11-25 | Allow array of pathes in validate_absolute_path | Oliver Bertuch | |
2014-11-13 | Merge pull request #319 from Spredzy/member_array_in_array | Hunter Haugen | |
(MODULES-1329) Allow member to look for array | |||
2014-11-13 | Merge pull request #365 from dalen/range-integers | Hunter Haugen | |
Make the range function work with integers | |||
2014-11-12 | (MODULES-1329) Allow member function to look for array | Yanis Guenane | |
Currently, the member function allows one to only find if a variable is part of an array. Sometimes it is useful to find if an array is part of a bigger array for validation purpose. | |||
2014-11-12 | Add range tests for numeric with step and mixed arguments | Erik Dalén | |
2014-11-12 | Make the range function work with integers | Erik 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-11 | Fix exclude windows test on ensure_package | Travis Fields | |
Update to fix ensure_resource as well | |||
2014-11-11 | Correct type() logic | Hunter Haugen | |
It should NOT run if the future parser is enabled | |||
2014-11-10 | Remove windows from ensure_package and ensure_resource testing | Travis Fields | |
2014-11-10 | Merge pull request #354 from puppetlabs/4.3.x | Morgan Haskel | |
4.3.x | |||
2014-11-07 | Merge pull request #343 from zacharyalexstern/fix_to_bytes | Travis Fields | |
Added correct converstions for PB and EB. | |||
2014-11-04 | Merge pull request #350 from cyberious/modules1413 | Morgan Haskel | |
MODULES-1413 Add ability for member to take numeric objects | |||
2014-11-04 | MODULES-1413 Ability to for future parser to use member with FixNum types | Travis Fields | |
2014-11-04 | Merge branch '4.3.x' | Travis Fields | |
Conflicts: spec/acceptance/ensure_packages_spec.rb spec/acceptance/ensure_resource_spec.rb | |||
2014-11-04 | Fix the unless for test cases on ensure_package and ensure_resource | Travis Fields | |
Conflicts: spec/acceptance/ensure_packages_spec.rb spec/acceptance/ensure_resource_spec.rb | |||
2014-10-30 | Merge branch '4.3.x' | Travis Fields | |
2014-10-29 | Fix 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-28 | Add windows test exclusion to ensure_resource | Travis Fields | |
2014-10-28 | Fixed 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-28 | Fix logic issue with not including windows for testing ensure_packages as ↵ | Travis Fields | |
ruby and gem are not on the install path | |||
2014-10-28 | Merge remote-tracking branch 'origin/4.3.x' back to master | Travis Fields | |
2014-10-28 | Fix testcases for Future Parser and resolve issue with values_at in assuming ↵ | Travis Fields | |
that it was dealing with a string | |||
2014-10-28 | Added 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-09-22 | (MODULES-707) chomp() fails because generate() no longer returns a string | Mark 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-16 | Remove simplecov | Hunter 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-08-28 | Update spec_helper for more consistency | Morgan Haskel | |
2014-08-05 | Remove simplecov | Hunter 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. | |||
2014-08-05 | Merge branch '4.3.x' | Hunter Haugen | |
2014-07-31 | Introduce test for array destruction | Spencer Krum | |
It was discovered that the concat array modifies the arrays passed to it as an argument as a side effect. This test will ensure that doesn't happen again. | |||
2014-07-08 | AIX has no facter network support | Hunter Haugen | |
These functions take advantage of IP fact information and AIX does not appear to support dynamic interface detection in facter. | |||
2014-06-26 | Gotta single quote yer typewriter buttons | Hunter Haugen | |
2014-06-26 | Need quotes for spaces in path | Hunter Haugen | |
2014-06-26 | has_ip_network doesn't work on windows either | Hunter Haugen | |
2014-06-25 | Sync files | Colleen Murphy | |
2014-06-25 | Disable windows network stuff and quote path | Hunter Haugen | |
2014-06-24 | Not enough escape velocity | Hunter Haugen | |
2014-06-24 | Fix pe facts and slashes | Hunter Haugen | |
2014-06-23 | Fixed fqdn,getparam and has_interface_with spec tests | Travis Fields | |
2014-06-23 | Merge pull request #283 from cyberious/4.3.x | Hunter Haugen | |
Add windows support and work around issue with SCP_TO on windows systems | |||
2014-06-23 | Removed platform check for facts.d mkdir | Travis Fields | |
2014-06-23 | Add windows support and work around issue with SCP_TO on windows systems | Travis Fields | |
2014-06-23 | Windows needs a tmpdir path | Hunter Haugen | |
2014-06-23 | Merge pull request #280 from hunner/win_aug | Travis Fields | |
Augeas isn't present on windows |