diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-23 17:33:17 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-23 17:33:17 +0200 |
commit | aede37be1b70ed4e53081682a6ec4814c348cb49 (patch) | |
tree | 3d29d58540a0ec9a71a3894a90268d3be6088a77 /types/systemd/bind.pp | |
parent | Remove everything. (diff) | |
download | nspawn-aede37be1b70ed4e53081682a6ec4814c348cb49.tar.gz nspawn-aede37be1b70ed4e53081682a6ec4814c348cb49.tar.xz |
Add new modules content.
This module is designed differently. It makes no attempt to manage
templates. It still attempts to manage machines, but this should
probably move to Puppet tasks or similar, with the static configuration
mostly doing cleanup.
Diffstat (limited to '')
-rw-r--r-- | types/systemd/bind.pp | 12 |
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]], + }], +] |