From 1ba1e0fc9b271df9fcc27ff21b2041ff10dd2346 Mon Sep 17 00:00:00 2001 From: Scott Schneider Date: Mon, 1 Jun 2015 17:52:21 -0700 Subject: [PATCH] Add example for tagfilter --- vmpooler.yaml.example | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vmpooler.yaml.example b/vmpooler.yaml.example index 86d2047..dda99cc 100644 --- a/vmpooler.yaml.example +++ b/vmpooler.yaml.example @@ -106,6 +106,18 @@ base: 'ou=users,dc=company,dc=com' user_object: 'uid' +# :tagfilter: +# +# Filter tags by regular expression. + +# Example: +# +# This example demonstrates discarding everything after a '/' character for +# the 'url' tag, transforming 'foo.com/something.html' to 'foo.com'. + +:tagfilter: + url: '(.*)\/' + # :config: # # This section contains global configuration information.