Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-13 | FM-2130 Move cache file to non temp directory | Travis Fields | |
2015-01-07 | (MODULES-1473) Deprecate type() function for new parser | Hunter Haugen | |
The `type()` function will cease to work on the new parser because 'type' is a reserved keyword. The `type3x()` function may be used to continue similar functionality, but will be deprecated in favor of the built-in typing system. The `type_of()` function has been included to introspect types in the new parser. | |||
2015-01-02 | Merge pull request #336 from mklette/master | Travis Fields | |
ensure_resource: be more verbose in debug mode | |||
2014-12-19 | Update docs to reflect new behavior of delete function taking array in ↵ | Travis Fields | |
second argument | |||
2014-12-19 | MODULES-1606 add ability to pass array to delete for items to delete | Travis Fields | |
2014-12-18 | Merge pull request #388 from mhaskel/merge_4.5.x_into_master | Hunter Haugen | |
Merge 4.5.x into master | |||
2014-12-18 | (MODULES-1582) Improve % detection | Peter Souter | |
Avoids any validate commands that have %'s in them other than "... % ..." | |||
2014-12-18 | (MODULES-1582) Initial spike for % placeholder | Peter Souter | |
This simply `gsub`'s the file path into where the % placeholder is. | |||
2014-12-17 | Merge pull request #372 from ↵ | Morgan Haskel | |
poikilotherm/feature/master/validate_absolute_path_allow_arrays Allow array of pathes in validate_absolute_path | |||
2014-12-17 | Merge pull request #368 from rfugina/basename | Morgan Haskel | |
Basename implementation | |||
2014-12-17 | Added basename() based on Ruby's File.basename | Rob Fugina | |
Based on dirname code. Includes RSpec tests and docs. | |||
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 | (MODULES-444) - Real meat of the change | Peter Souter | |
This is the core change, we now go through the array and add it to the first element, instead of just two arguments. | |||
2014-12-04 | (MODULES-444) Change argument restriction to < 2 | Peter Souter | |
2014-12-04 | (MODULES-444) Update docs with new functionality | Peter Souter | |
2014-11-25 | Allow array of pathes in validate_absolute_path | Oliver Bertuch | |
2014-11-17 | Need to convert strings and fixnums to arrays | Morgan Haskel | |
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 | 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-12 | (maint) Fix indentation of range function | Erik Dalén | |
2014-11-10 | Fix breaking out of .each loop | Hunter Haugen | |
And some other small formatting fixes that don't belong in this patch. | |||
2014-11-10 | Catch :undefined_variable thrown when Future Parser is enabled with 3.7.x | 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-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-29 | Merge remote-tracking branch 'origin/4.3.x' | Travis Fields | |
2014-10-29 | Add proper exception catching of Windows errors when CreateProcess does not ↵ | Travis Fields | |
succeed | |||
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-10-24 | Merge branch '4.3.x', add tempfile back for resource validate_cmd and ↵ | Travis Fields | |
validate_augeas | |||
2014-10-24 | add require 'tempfile' to resolve a previously autorequired resource | Travis Fields | |
2014-10-24 | Merge branch '4.3.x' | Travis Fields | |
Conflicts: README.markdown lib/puppet/parser/functions/has_interface_with.rb | |||
2014-10-10 | ensure_resource: be more verbose in debug mode | Mathias Klette | |
helps discovering duplication issues, especially when figthing boolean vs. string arguments | |||
2014-10-09 | Merge pull request #262 from tremble/MODULES-707 | Morgan Haskel | |
Modules 707 | |||
2014-10-08 | ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing us ↵ | Travis Fields | |
not to return some interfaces | |||
2014-09-22 | Fix strict_variables = true | Tomas Doran | |
2014-09-22 | Re-use existing str2bool code rather than doing a copy and paste | Mark Chappell | |
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 | MODULES-1248 Fix issue with not properly counting regex matches with legacy ↵ | Travis Fields | |
versions of ruby | |||
2014-09-16 | Note that also future parser does not work | Alexander Pánek | |
2014-09-16 | Updated docs of validate_string to reflect bug | Alexander Pánek | |
See: https://tickets.puppetlabs.com/browse/MODULES-457 | |||
2014-08-05 | Merge branch '4.3.x' | Hunter Haugen | |
2014-07-31 | Concatenate arrays without modifying the first array | Colleen Murphy | |
2014-07-16 | (MODULES-1221) Add file_line autorequire documentation | Thomas Linkin | |
This commit adds additional documentation to the file_line resource explaining how it will autorequire file resources when present. |