summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-23 18:30:59 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-23 18:30:59 +0200
commit0a6790c41e5de6add2af641098795194297e2223 (patch)
treef94dd4e2cab15876c6c2eb5ef0bf46523180ef9b
parentFix types. (diff)
downloadnspawn-0a6790c41e5de6add2af641098795194297e2223.tar.gz
nspawn-0a6790c41e5de6add2af641098795194297e2223.tar.xz
Fix types.
-rw-r--r--types/systemd/resourcelimit.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/types/systemd/resourcelimit.pp b/types/systemd/resourcelimit.pp
new file mode 100644
index 0000000..730a92a
--- /dev/null
+++ b/types/systemd/resourcelimit.pp
@@ -0,0 +1,7 @@
+type Nspawn::Systemd::Resourcelimit = Variant[
+ Variant[Integer, enum['infinity']],
+ Tuple[
+ Variant[Integer, enum['infinity']],
+ Variant[Integer, enum['infinity']],
+ ]
+]