diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-26 17:29:21 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-26 17:29:21 +0200 |
commit | a7e54399776977f9724e48c0b787795660704a60 (patch) | |
tree | 010095b46285edaff7ebf33651b9d2ee811c6dbf /manifests/machine.pp | |
parent | fix (diff) | |
download | nspawn-a7e54399776977f9724e48c0b787795660704a60.tar.gz nspawn-a7e54399776977f9724e48c0b787795660704a60.tar.xz |
Replace template based nspawn file with puppet based.
Diffstat (limited to 'manifests/machine.pp')
-rw-r--r-- | manifests/machine.pp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/manifests/machine.pp b/manifests/machine.pp index d65ae00..d8a2d5f 100644 --- a/manifests/machine.pp +++ b/manifests/machine.pp @@ -48,11 +48,9 @@ define nspawn::machine ( message => $final_config, } - file { "${nspawn::nspawn_dir}/${name}.nspawn": + nspawn::machine::nspawn { $name: ensure => $ensure, - content => epp("${module_name}/systemd/nspawn.epp", { - 'data' => $final_config - }), + content => $final_config, } if $ensure == 'present' { |