From efdcbbdc5e98a23512242da5a64edb1cc75f2759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 23 Jun 2023 18:14:49 +0200 Subject: Fix types. --- manifests/init.pp | 2 +- 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', ) { -- cgit v1.2.3