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.md
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -1059,7 +1059,7 @@ For example:
1059
1059
1060
1060
#### `dig`
1061
1061
1062
-
> DEPRECATED: This function has been replaced with a built-in [`dig`](https://docs.puppet.com/puppet/latest/function.html#dig) function as of Puppet 4.5.0. Use [`dig44()`](#dig44) for backwards compatibility or use the new version.
1062
+
**Deprecated: This function has been replaced with a built-in [`dig`](https://docs.puppet.com/puppet/latest/function.html#dig) function as of Puppet 4.5.0. Use [`dig44()`](#dig44) for backwards compatibility or use the new version.**
1063
1063
1064
1064
Retrieves a value within multiple layers of hashes and arrays via an array of keys containing a path. The function goes through the structure by each path component and tries to return the value at the end of the path.
1065
1065
@@ -1518,31 +1518,31 @@ if $baz.is_a(String) {
1518
1518
1519
1519
#### `is_absolute_path`
1520
1520
1521
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1521
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1522
1522
1523
1523
Returns `true` if the given path is absolute.
1524
1524
1525
1525
*Type*: rvalue.
1526
1526
1527
1527
#### `is_array`
1528
1528
1529
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1529
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1530
1530
1531
1531
Returns `true` if the variable passed to this function is an array.
1532
1532
1533
1533
*Type*: rvalue.
1534
1534
1535
1535
#### `is_bool`
1536
1536
1537
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1537
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1538
1538
1539
1539
Returns `true` if the variable passed to this function is a Boolean.
1540
1540
1541
1541
*Type*: rvalue.
1542
1542
1543
1543
#### `is_domain_name`
1544
1544
1545
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1545
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1546
1546
1547
1547
Returns `true` if the string passed to this function is a syntactically correct domain name.
1548
1548
@@ -1557,55 +1557,55 @@ Returns true if the string passed to this function is a valid email address.
1557
1557
1558
1558
#### `is_float`
1559
1559
1560
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1560
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1561
1561
1562
1562
Returns `true` if the variable passed to this function is a float.
1563
1563
1564
1564
*Type*: rvalue.
1565
1565
1566
1566
#### `is_function_available`
1567
1567
1568
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1568
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1569
1569
1570
1570
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.
1571
1571
1572
1572
*Type*: rvalue.
1573
1573
1574
1574
#### `is_hash`
1575
1575
1576
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1576
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1577
1577
1578
1578
Returns `true` if the variable passed to this function is a hash.
1579
1579
1580
1580
*Type*: rvalue.
1581
1581
1582
1582
#### `is_integer`
1583
1583
1584
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1584
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1585
1585
1586
1586
Returns `true` if the variable returned to this string is an integer.
1587
1587
1588
1588
*Type*: rvalue.
1589
1589
1590
1590
#### `is_ip_address`
1591
1591
1592
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1592
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1593
1593
1594
1594
Returns `true` if the string passed to this function is a valid IP address.
1595
1595
1596
1596
*Type*: rvalue.
1597
1597
1598
1598
#### `is_ipv6_address`
1599
1599
1600
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1600
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1601
1601
1602
1602
Returns `true` if the string passed to this function is a valid IPv6 address.
1603
1603
1604
1604
*Type*: rvalue.
1605
1605
1606
1606
#### `is_ipv4_address`
1607
1607
1608
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1608
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1609
1609
1610
1610
Returns `true` if the string passed to this function is a valid IPv4 address.
1611
1611
@@ -1619,15 +1619,15 @@ Returns `true` if the string passed to this function is a valid MAC address.
1619
1619
1620
1620
#### `is_numeric`
1621
1621
1622
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1622
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1623
1623
1624
1624
Returns `true` if the variable passed to this function is a number.
1625
1625
1626
1626
*Type*: rvalue.
1627
1627
1628
1628
#### `is_string`
1629
1629
1630
-
**Deprecated. Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1630
+
**Deprecated: Will be removed in a future version of stdlib. See [`validate_legacy`](#validate_legacy).**
1631
1631
1632
1632
Returns `true` if the variable passed to this function is a string.
1633
1633
@@ -2142,7 +2142,7 @@ For example, `{ "key" => "value" }` becomes `"---\nkey: value\n"`.
2142
2142
2143
2143
#### `try_get_value`
2144
2144
2145
-
**DEPRECATED:** replaced by `dig()`.
2145
+
**Deprecated: replaced by `dig()`.**
2146
2146
2147
2147
Retrieves a value within multiple layers of hashes and arrays.
**Deprecated**. This function will be removed in a future release.
2194
+
**Deprecated: This function will be removed in a future release.**
2195
2195
2196
2196
Returns a string description of the type of a given value. The type can be a string, array, hash, float, integer, or Boolean. For Puppet 4, use the new type system instead.
0 commit comments