summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorPeter Souter <peter.souter+GIT@puppet.com>2016-12-07 19:25:03 +0000
committerPeter Souter <peter.souter+GIT@puppet.com>2016-12-09 01:07:49 +0000
commit0e684d82ea1ad0f5c85b8aa0147ffec39aac8ddd (patch)
treed9e65bb5b7313cb7493e80c209b09e2b47306aec /README.markdown
parent7507af555361b2dcba8ed6189dc54c21e64ea031 (diff)
(MODULES-4188) Add FQDN UUID generation function
* Generates UUID based on a given FQDN string and the DNS namespace (6ba7b810-9dad-11d1-80b4-00c04fd430c8)
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index a6b7bda..627e73a 100644
--- a/README.markdown
+++ b/README.markdown
@@ -578,6 +578,15 @@ fqdn_rotate([1, 2, 3], 'custom seed')
*Type*: rvalue.
+#### `fqdn_uuid`
+
+Returns a rfc4122 valid version 5 UUID based on an FQDN string under the DNS namespace
+
+ * fqdn_uuid('puppetlabs.com') returns '9c70320f-6815-5fc5-ab0f-debe68bf764c'
+ * fqdn_uuid('google.com') returns '64ee70a4-8cc1-5d25-abf2-dea6c79a09c8'
+
+*Type*: rvalue.
+
#### `get_module_path`
Returns the absolute path of the specified module for the current environment.