puppetlabs-stdlib/lib/puppet/parser/functions
Nate Potter a2f980d44d (MODULES-3568) Move dig to dig44 and deprecate dig
A new version of dig was introduced in Puppet 4.5.0 that
isn't compatible with the stdlib version of dig. To maintain
backwards compatibility and ensure that tests for stdlib aren't
broken, this patch renames dig to dig44 and adds a deprecation
warning to the stdlib dig function.
2016-07-08 08:53:24 -07:00
..
abs.rb puppet-lint cleanup 2012-11-15 10:38:03 -06:00
any2array.rb Remove resundant code 2013-04-03 14:05:20 -07:00
any2bool.rb (MODULES-1439) Adds any2bool function 2016-05-02 20:04:56 +01:00
assert_private.rb Rename private() to assert_private() 2015-03-05 10:59:31 -08:00
base64.rb Extend Base64() function support 2016-02-18 23:38:19 +08:00
basename.rb Added basename() based on Ruby's File.basename 2014-12-17 12:39:40 -06:00
bool2num.rb Re-use existing str2bool code rather than doing a copy and paste 2014-09-22 19:49:50 +02:00
bool2str.rb add functionality to bool2str to return strings of your choice for a boolean 2015-10-15 22:22:10 -04:00
camelcase.rb (MODULES-905) Add bool2str() and camelcase() for string manipulation 2014-05-13 15:46:40 -07:00
capitalize.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
ceiling.rb Add a ceiling function to complement the floor function. 2015-02-01 22:46:16 -08:00
chomp.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
chop.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
clamp.rb Add clamp function 2015-12-31 12:46:07 +03:00
concat.rb (MODULES-3246) Fix concat with Hash arguments. 2016-04-08 13:42:13 +01:00
convert_base.rb Adds a convert_base function, which can convert numbers between bases 2015-08-27 10:42:13 +01:00
count.rb Add a count function 2013-04-10 14:39:25 +02:00
deep_merge.rb PUP-1724 Don't modify the paramaters to deep_merge 2014-02-17 12:19:40 -08:00
defined_with_params.rb Handle undef for parameter argument 2012-10-25 10:54:33 -07:00
delete.rb Add a delete_regex function 2016-05-13 13:25:35 -04:00
delete_at.rb (#3) Provide documentation for remaining functions. 2011-07-29 23:09:30 +01:00
delete_regex.rb Add a delete_regex function 2016-05-13 13:25:35 -04:00
delete_undef_values.rb Remove trailing whitespace 2014-02-05 15:01:45 -08:00
delete_values.rb Remove trailing whitespace 2014-02-05 15:01:45 -08:00
difference.rb (#20684) Add array comparison functions, difference, intersection and union. 2013-05-13 12:14:15 -04:00
dig.rb (MODULES-3568) Move dig to dig44 and deprecate dig 2016-07-08 08:53:24 -07:00
dig44.rb (MODULES-3568) Move dig to dig44 and deprecate dig 2016-07-08 08:53:24 -07:00
dirname.rb Added type checks for dirname(), and additional tests 2014-12-17 12:55:48 -06:00
dos2unix.rb (MODULES-2410) Add new functions dos2unix and unix2dos 2015-08-14 13:30:01 +01:00
downcase.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
empty.rb Check for numeric values as empty fails on those 2015-09-28 16:01:11 +01:00
enclose_ipv6.rb Add enclose_ipv6 function 2016-03-13 18:20:49 -04:00
ensure_packages.rb Add ensure_resources() function 2016-03-15 09:29:38 +05:30
ensure_resource.rb ensure_resource: be more verbose in debug mode 2014-10-10 22:57:26 +02:00
ensure_resources.rb Add ensure_resources() function 2016-03-15 09:29:38 +05:30
flatten.rb Fix number of arguments check in flatten() 2013-03-18 15:07:13 -07:00
floor.rb Fix the stdlib functions that fail tests 2014-05-08 14:55:23 -07:00
fqdn_rand_string.rb fqdn_rand_string: fix argument error message 2015-04-17 14:24:40 -07:00
fqdn_rotate.rb fqdn_rotate: Improve documentation 2015-06-01 16:19:07 -07:00
get_module_path.rb (Maint) Fix up the get_module_path parser function 2012-07-23 09:21:22 -07:00
getparam.rb (maint) Fix getparam() spec failure on MRI 1.8 2013-01-14 18:38:27 -08:00
getvar.rb Also catch :undefined_variable as thrown by future parser 2015-06-05 12:43:01 +01:00
grep.rb (#3) Provide documentation for remaining functions. 2011-07-29 23:09:30 +01:00
has_interface_with.rb catch and rescue from looking up non-existent facts when looking for 'kind' 2015-06-24 15:02:02 +02:00
has_ip_address.rb (#13974) Add predicate functions for interface facts 2012-11-07 14:00:44 -08:00
has_ip_network.rb (#13974) Add predicate functions for interface facts 2012-11-07 14:00:44 -08:00
has_key.rb Docs: Correct indentation of markdown code examples 2011-08-18 12:39:04 -07:00
hash.rb catch StandardError rather than the gratuitous Exception 2016-03-29 01:59:54 +02:00
intersection.rb Clarify what an empty intersection looks like. 2015-09-14 11:25:38 -07:00
is_absolute_path.rb adds new parser called is_absolute_path 2015-12-15 23:24:17 -08:00
is_array.rb (#3) Provide documentation for remaining functions. 2011-07-29 23:09:30 +01:00
is_bool.rb (#23381) add is_bool() function 2013-12-09 11:50:03 -07:00
is_domain_name.rb If present, top-level domain must be alphabetic 2015-03-05 21:51:12 -06:00
is_email_address.rb (MODULES-3271) Ensure that is_email_address works on unsupported rubies 2016-04-18 09:46:30 +01:00
is_float.rb Fix the stdlib functions that fail tests 2014-05-08 14:55:23 -07:00
is_function_available.rb Fix the stdlib functions that fail tests 2014-05-08 14:55:23 -07:00
is_hash.rb (#3) Provide documentation for remaining functions. 2011-07-29 23:09:30 +01:00
is_integer.rb (PUP-1195) Rephrase documentation for is_integer and is_numeric 2014-01-24 00:22:09 +01:00
is_ip_address.rb puppet-lint cleanup 2012-11-15 10:38:03 -06:00
is_ipv4_address.rb Add is_ipv4_address and is_ipv6_address functions 2016-01-22 18:01:49 +01:00
is_ipv6_address.rb Add is_ipv4_address and is_ipv6_address functions 2016-01-22 18:01:49 +01:00
is_mac_address.rb simplify mac address regex 2015-05-29 20:13:21 +02:00
is_numeric.rb (PUP-1195) Rephrase documentation for is_integer and is_numeric 2014-01-24 00:22:09 +01:00
is_string.rb (#3) Provide documentation for remaining functions. 2011-07-29 23:09:30 +01:00
join.rb Fixed 'separator' typos 2013-10-25 15:26:21 -06:00
join_keys_to_values.rb Add join_keys_to_values function 2012-11-20 16:16:03 -05:00
keys.rb (#3) Provide documentation for remaining functions. 2011-07-29 23:09:30 +01:00
load_module_metadata.rb Let load_module_metadata succeed on empty file 2015-10-14 16:16:01 -07:00
loadjson.rb Add the default value to the "loadyaml" function 2016-04-26 21:58:29 +03:00
loadyaml.rb Add the default value to the "loadyaml" function 2016-04-26 21:58:29 +03:00
lstrip.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
max.rb Allow comparisons of Numeric and number as String 2013-03-27 14:03:31 -07:00
member.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
merge.rb fix in merge.rb: refine the checking if an argument is an empty string 2013-05-08 18:24:07 +02:00
min.rb Allow comparisons of Numeric and number as String 2013-03-27 14:03:31 -07:00
num2bool.rb Cleanup per adrianthebo suggestions 2013-04-01 11:44:09 -04:00
parsejson.rb catch StandardError rather than the gratuitous Exception 2016-03-29 01:59:54 +02:00
parseyaml.rb (maint) also catch Psych::SyntaxError 2016-04-07 12:31:06 +01:00
pick.rb (Main) fix typo in pick error message 2013-10-29 12:01:25 -07:00
pick_default.rb (PUP-638) Add a pick_default() function that always returns a value. 2014-01-29 09:26:35 -08:00
prefix.rb Add support for hashes in the prefix function 2015-03-03 16:20:55 -08:00
private.rb Add private function back and forward to assert_private with deprecation warning 2015-03-05 11:12:51 -08:00
pw_hash.rb pw_hash: Fix functionality on JRuby < 1.7.17 2015-05-05 15:53:34 -07:00
range.rb range(): fix TypeError(can't convert nil into Integer) when using range syntax 2015-05-06 10:13:27 +01:00
reject.rb Add reject() function 2012-11-28 14:28:31 -08:00
reverse.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
rstrip.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
seeded_rand.rb (#2886) seeded_rand: new function 2015-12-08 14:59:12 +01:00
shell_escape.rb Expose the functions of ruby's built-in Shellwords module (#580) 2016-04-28 18:44:30 +01:00
shell_join.rb Expose the functions of ruby's built-in Shellwords module (#580) 2016-04-28 18:44:30 +01:00
shell_split.rb Expose the functions of ruby's built-in Shellwords module (#580) 2016-04-28 18:44:30 +01:00
shuffle.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
size.rb adding support for hash in the size function 2015-07-22 12:11:52 +02:00
sort.rb Fix some ruby 1.9.2 issues. 2011-07-30 00:44:02 +01:00
squeeze.rb puppet-lint cleanup 2012-11-15 10:38:03 -06:00
str2bool.rb accept any case of boolean strings 2015-09-04 08:09:26 -07:00
str2saltedsha512.rb New str2saltedsha512 function for OS X Passwords 2012-01-09 11:30:47 -08:00
strftime.rb (#3) Apply missing documentation to more functions. 2011-07-29 22:18:56 +01:00
strip.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
suffix.rb improve suffix function to support the same feature set as prefix 2016-03-22 16:24:09 +01:00
swapcase.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
time.rb Fix time() on 1.8.7 2015-06-04 09:40:52 -07:00
to_bytes.rb Added correct converstions for PB and EB. 2014-10-28 13:14:06 -07:00
try_get_value.rb Add dig() function 2016-02-16 00:51:28 -08:00
type.rb (MODULES-1473) Deprecate type() function for new parser 2015-01-07 16:40:06 -08:00
type3x.rb (MODULES-1473) Deprecate type() function for new parser 2015-01-07 16:40:06 -08:00
union.rb (MODULE-2456) Modify union to accept more than two arrays 2015-08-24 14:24:10 +01:00
unique.rb (MODULES-707) chomp() fails because generate() no longer returns a string 2014-09-22 19:49:50 +02:00
unix2dos.rb (MODULES-2410) Add new functions dos2unix and unix2dos 2015-08-14 13:30:01 +01:00
upcase.rb Fix documentation error in upcase 2015-07-20 18:00:09 +01:00
uriescape.rb URI.escape for the array case was incorrect. 2015-03-03 16:05:47 -08:00
validate_absolute_path.rb refactors the validate_absolute_path to utilize the is_absolute_path 2015-12-15 23:24:17 -08:00
validate_array.rb Docs: Copyedit function doc strings 2011-08-18 12:39:04 -07:00
validate_augeas.rb validate_augeas: fix URL to docs 2015-05-05 13:55:18 +01:00
validate_bool.rb (#23381) add is_bool() function 2013-12-09 11:50:03 -07:00
validate_cmd.rb catch StandardError rather than the gratuitous Exception 2016-03-29 01:59:54 +02:00
validate_email_address.rb (MODULES-3354) Use 1.8.7 hash in validate_email_address function 2016-05-11 15:52:50 -04:00
validate_hash.rb Docs: Remove author emails from stdlib functions 2011-08-18 12:39:05 -07:00
validate_integer.rb Remove colorful language from module. 2015-07-30 15:11:26 -07:00
validate_ip_address.rb Fix reference to validate_bool in function 2016-01-19 16:22:01 +00:00
validate_ipv4_address.rb Fix reference to validate_bool in IP4 function 2015-11-23 23:45:55 +00:00
validate_ipv6_address.rb Ruby 2.0 introduces IPAddr::InvalidAddressError 2013-05-22 17:21:38 -07:00
validate_numeric.rb validate_integer, validate_numeric: explicitely reject hashes in arrays 2015-05-27 20:05:05 +01:00
validate_re.rb (MAINT) validate_re: Clarify docs and error message 2015-09-17 18:48:32 +01:00
validate_slength.rb Add validate_slength's optional 3rd arg to README 2015-07-09 18:13:19 +01:00
validate_string.rb Note that also future parser does not work 2014-09-16 19:03:02 +02:00
validate_x509_rsa_key_pair.rb Add a function to validate an x509 RSA key pair 2016-01-08 11:09:45 +00:00
values.rb (#3) Apply missing documentation to more functions. 2011-07-29 22:18:56 +01:00
values_at.rb 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
zip.rb Re-use existing str2bool code rather than doing a copy and paste 2014-09-22 19:49:50 +02:00