summaryrefslogtreecommitdiff
path: root/types/systemd/bind.pp
diff options
context:
space:
mode:
Diffstat (limited to 'types/systemd/bind.pp')
-rw-r--r--types/systemd/bind.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/types/systemd/bind.pp b/types/systemd/bind.pp
new file mode 100644
index 0000000..9554e9a
--- /dev/null
+++ b/types/systemd/bind.pp
@@ -0,0 +1,12 @@
+type Nspawn::Systemd::Bind = Variant[
+ String,
+ Tuple[String, String],
+ # TODO Typecheck options
+ Tuple[String, String, Array[String]],
+ Struct[{
+ 'source' => String,
+ 'dest' => String,
+ # TODO Typecheck options
+ 'options' => Optional[Array[String]],
+ }],
+]