summaryrefslogtreecommitdiff
path: root/manifests/os/debian.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-15 12:07:57 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-15 12:08:40 +0100
commitc7f59cec7f0f421b431afb086557a5344b72295d (patch)
tree59cd2f39a2294b7a2f24af27a38edd2cd77cec19 /manifests/os/debian.pp
parentNspawn cleanup. (diff)
downloadnspawn-c7f59cec7f0f421b431afb086557a5344b72295d.tar.gz
nspawn-c7f59cec7f0f421b431afb086557a5344b72295d.tar.xz
Fix nspawn continious exec:s.
Diffstat (limited to 'manifests/os/debian.pp')
-rw-r--r--manifests/os/debian.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/os/debian.pp b/manifests/os/debian.pp
index e7e7a21..9e42737 100644
--- a/manifests/os/debian.pp
+++ b/manifests/os/debian.pp
@@ -32,8 +32,9 @@ define nspawn::os::debian (
}
} else {
exec { "Set up puppet repo for ${template_name}":
- subscribe => File[$puppet_deb_path],
- command => [ '/usr/bin/systemd-nspawn',
+ subscribe => File[$puppet_deb_path],
+ refreshonly => true,
+ command => [ '/usr/bin/systemd-nspawn',
'-M', $template_name,
'--quiet',
'/bin/sh', '-c',