From c6fc4d6204cf384f0e8b6d9c1a9b4a7a151e2dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 23 Jun 2023 18:39:06 +0200 Subject: Config base. --- manifests/machine.pp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'manifests/machine.pp') diff --git a/manifests/machine.pp b/manifests/machine.pp index a0eebc4..25ee47c 100644 --- a/manifests/machine.pp +++ b/manifests/machine.pp @@ -44,14 +44,7 @@ define nspawn::machine ( 'override' => $config, } - # Empty base config ensuring that all sections are present. - $config_base = { - 'Exec' => {}, - 'Files' => {}, - 'Network' => {}, - } - - $final_config = $config_base + $almost_final_config + $final_config = $nspawn::config_base + $almost_final_config file { "${nspawn::nspawn_dir}/${name}.nspawn": ensure => $ensure, -- cgit v1.2.3