diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-23 18:14:49 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-23 18:14:49 +0200 |
commit | efdcbbdc5e98a23512242da5a64edb1cc75f2759 (patch) | |
tree | a1b7dfe46b8686ec338ee2bc265fc65ee2802353 | |
parent | Add new modules content. (diff) | |
download | nspawn-efdcbbdc5e98a23512242da5a64edb1cc75f2759.tar.gz nspawn-efdcbbdc5e98a23512242da5a64edb1cc75f2759.tar.xz |
Fix types.
Diffstat (limited to '')
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/machine.pp | 2 |
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', ) { |