diff options
author | Emilien Macchi <emilien@redhat.com> | 2016-03-13 18:20:49 -0400 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2016-03-13 18:20:49 -0400 |
commit | 0378336f9cefea65675d03f1d7107c75cb950fb6 (patch) | |
tree | ffc8b06eaa817edf29b48254f3e06959c0f90090 /README.markdown | |
parent | 69ca8d09c6124e9b5bd98e62fb201e734ae5bd05 (diff) | |
download | puppet-stdlib-0378336f9cefea65675d03f1d7107c75cb950fb6.tar.gz puppet-stdlib-0378336f9cefea65675d03f1d7107c75cb950fb6.tar.bz2 |
Add enclose_ipv6 function
Copy a function from puppetlabs/apache, created by Benedikt Bock by
55cc3b4e8f4bc859a1255cb57be2c7923005d822 .
This function enclose IPv6 addresses in square brackets.
It takes an array of ip addresses and encloses the ipv6 addresses with
square brackets.
Co-Authored-By: Benedikt Bock <benedikt_bock@web.de>
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown index 994c22e..c9bbdad 100644 --- a/README.markdown +++ b/README.markdown @@ -344,6 +344,11 @@ Converts the case of a string or of all strings in an array to lowercase. *Type* Returns true if the argument is an array or hash that contains no elements, or an empty string. Returns false when the argument is a numerical value. *Type*: rvalue. +#### `enclose_ipv6` + +Takes an array of ip addresses and encloses the ipv6 addresses with square +brackets. *Type*: rvalue. + #### `ensure_packages` Takes a list of packages and only installs them if they don't already exist. It optionally takes a hash as a second parameter to be passed as the third argument to the `ensure_resource()` function. *Type*: statement. |