diff --git a/REFERENCE.md b/REFERENCE.md index c8388cbd..38c26c8c 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -5430,7 +5430,7 @@ custom datatype that validates different filenames for systemd units and unit te * **See also** * https://www.freedesktop.org/software/systemd/man/systemd.unit.html -Alias of `Pattern[/^[a-zA-Z0-9:\-_.\\@%]+\.(service|socket|device|mount|automount|swap|target|path|timer|slice|scope)$/]` +Alias of `Pattern[/^[a-zA-Z0-9:\-_.\\@%]+\.(service|socket|device|mount|automount|swap|target|path|timer|slice|scope|volume|pod|kube|container)$/]` ### `Systemd::Unit::Amount` diff --git a/types/unit.pp b/types/unit.pp index 999d9733..33b37973 100644 --- a/types/unit.pp +++ b/types/unit.pp @@ -1,3 +1,3 @@ # @summary custom datatype that validates different filenames for systemd units and unit templates # @see https://www.freedesktop.org/software/systemd/man/systemd.unit.html -type Systemd::Unit = Pattern[/^[a-zA-Z0-9:\-_.\\@%]+\.(service|socket|device|mount|automount|swap|target|path|timer|slice|scope)$/] +type Systemd::Unit = Pattern[/^[a-zA-Z0-9:\-_.\\@%]+\.(service|socket|device|mount|automount|swap|target|path|timer|slice|scope|volume|pod|kube|container)$/]