You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -712,67 +712,67 @@ See the [`assert_type()`](https://docs.puppetlabs.com/references/latest/function
712
712
713
713
#### `is_absolute_path`
714
714
715
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
715
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
716
716
717
717
Returns 'true' if the given path is absolute. *Type*: rvalue.
718
718
719
719
#### `is_array`
720
720
721
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
721
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
722
722
723
723
Returns 'true' if the variable passed to this function is an array. *Type*: rvalue.
724
724
725
725
#### `is_bool`
726
726
727
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
727
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
728
728
729
729
Returns 'true' if the variable passed to this function is a boolean. *Type*: rvalue.
730
730
731
731
#### `is_domain_name`
732
732
733
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
733
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
734
734
735
735
Returns 'true' if the string passed to this function is a syntactically correct domain name. *Type*: rvalue.
736
736
737
737
#### `is_float`
738
738
739
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
739
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
740
740
741
741
Returns 'true' if the variable passed to this function is a float. *Type*: rvalue.
742
742
743
743
#### `is_function_available`
744
744
745
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
745
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
746
746
747
747
Accepts a string as an argument and determines whether the Puppet runtime has access to a function by that name. It returns 'true' if the function exists, 'false' if not. *Type*: rvalue.
748
748
749
749
#### `is_hash`
750
750
751
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
751
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
752
752
753
753
Returns 'true' if the variable passed to this function is a hash. *Type*: rvalue.
754
754
755
755
#### `is_integer`
756
756
757
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
757
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
758
758
759
759
Returns 'true' if the variable returned to this string is an integer. *Type*: rvalue.
760
760
761
761
#### `is_ip_address`
762
762
763
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
763
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
764
764
765
765
Returns 'true' if the string passed to this function is a valid IP address. *Type*: rvalue.
766
766
767
767
#### `is_ipv6_address`
768
768
769
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
769
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
770
770
771
771
Returns 'true' if the string passed to this function is a valid IPv6 address. *Type*: rvalue.
772
772
773
773
#### `is_ipv4_address`
774
774
775
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
775
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
776
776
777
777
Returns 'true' if the string passed to this function is a valid IPv4 address. *Type*: rvalue.
778
778
@@ -782,13 +782,13 @@ Returns 'true' if the string passed to this function is a valid MAC address. *Ty
782
782
783
783
#### `is_numeric`
784
784
785
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
785
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
786
786
787
787
Returns 'true' if the variable passed to this function is a number. *Type*: rvalue.
788
788
789
789
#### `is_string`
790
790
791
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
791
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
792
792
793
793
Returns 'true' if the variable passed to this function is a string. *Type*: rvalue.
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
1307
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1308
1308
1309
1309
Validates that all passed values are either true or false. Aborts catalog compilation if any value fails this check.
1310
1310
@@ -1346,7 +1346,7 @@ validate_cmd($haproxycontent, '/usr/sbin/haproxy -f % -c', 'Haproxy failed to va
1346
1346
1347
1347
#### `validate_hash`
1348
1348
1349
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
1349
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1350
1350
1351
1351
Validates that all passed values are hash data structures. Aborts catalog compilation if any value fails this check.
1352
1352
@@ -1370,7 +1370,7 @@ Validates that all passed values are hash data structures. Aborts catalog compil
1370
1370
1371
1371
#### `validate_integer`
1372
1372
1373
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
1373
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1374
1374
1375
1375
Validates that the first argument is an integer (or an array of integers). Aborts catalog compilation if any of the checks fail.
1376
1376
@@ -1430,7 +1430,7 @@ Validates that the first argument is an integer (or an array of integers). Abort
1430
1430
1431
1431
#### `validate_ip_address`
1432
1432
1433
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
1433
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1434
1434
1435
1435
Validates that the argument is an IP address, regardless of it is an IPv4 or an IPv6
1436
1436
address. It also validates IP address with netmask. The argument must be given as a string.
@@ -1544,7 +1544,7 @@ Always note such changes in your CHANGELOG and README.
1544
1544
1545
1545
#### `validate_numeric`
1546
1546
1547
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
1547
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1548
1548
1549
1549
Validates that the first argument is a numeric value (or an array or string of numeric values). Aborts catalog compilation if any of the checks fail.
1550
1550
@@ -1562,7 +1562,7 @@ Validates that the first argument is a numeric value (or an array or string of n
1562
1562
1563
1563
#### `validate_re`
1564
1564
1565
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
1565
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1566
1566
1567
1567
Performs simple validation of a string against one or more regular expressions. The first argument of this function should be the string to
1568
1568
test, and the second argument should be a stringified regular expression (without the // delimiters) or an array of regular expressions. If none of the regular expressions match the string passed in, compilation aborts with a parse error.
@@ -1598,7 +1598,7 @@ test, and the second argument should be a stringified regular expression (withou
1598
1598
1599
1599
#### `validate_slength`
1600
1600
1601
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
1601
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1602
1602
1603
1603
Validates that the first argument is a string (or an array of strings), and is less than or equal to the length of the second argument. It fails if the first argument is not a string or array of strings, or if the second argument is not convertable to a number. Optionally, a minimum string length can be given as the third argument.
1604
1604
@@ -1622,7 +1622,7 @@ Validates that the first argument is a string (or an array of strings), and is l
1622
1622
1623
1623
#### `validate_string`
1624
1624
1625
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validatelegacy).**
1625
+
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1626
1626
1627
1627
Validates that all passed values are string data structures. Aborts catalog compilation if any value fails this check.
0 commit comments