summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-23 18:14:49 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-23 18:14:49 +0200
commitefdcbbdc5e98a23512242da5a64edb1cc75f2759 (patch)
treea1b7dfe46b8686ec338ee2bc265fc65ee2802353
parentAdd new modules content. (diff)
downloadnspawn-efdcbbdc5e98a23512242da5a64edb1cc75f2759.tar.gz
nspawn-efdcbbdc5e98a23512242da5a64edb1cc75f2759.tar.xz
Fix types.
-rw-r--r--manifests/init.pp2
-rw-r--r--manifests/machine.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 3eedbae..dc6dc47 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -14,7 +14,7 @@
# @param purge
# Should old .nspawn files be purged.
class nspawn (
- Nspawn::Systemdconfig $config,
+ Nspawn::Systemd::Nspawn $config,
Stdlib::Abspath $template_dir = '/var/lib/templates',
Hash[String, Hash[String, Any]] $machines = {},
Boolean $purge = true,
diff --git a/manifests/machine.pp b/manifests/machine.pp
index 8b09715..f3361eb 100644
--- a/manifests/machine.pp
+++ b/manifests/machine.pp
@@ -32,7 +32,7 @@
define nspawn::machine (
Variant[String, Enum['none']] $template,
String $domain = $trusted['domain'],
- Nspawn::Systemdconfig $config,
+ Nspawn::Systemd::Nspawn $config,
Enum['deep', 'shallow', 'override'] $merge = 'deep',
Enum['present', 'absent'] $ensure = 'present',
) {