From 40ccee5720cd366465517ed9f4d0ad7c4027d7f8 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Sat, 9 May 2015 16:15:37 +0200 Subject: oops --- global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp b/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp index 826d97a..d6400d7 100644 --- a/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp +++ b/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp @@ -32,7 +32,7 @@ define sunet::cloudimage ( content => template("sunet/cloudimage/mk_cloud_image.erb"), mode => "0755" } -> - exec { "/var/lib/libvirt/images/${name}-init.sh": + exec { "/var/lib/libvirt/images/${name}/${name}-init.sh": onlyif => "test ! -f /var/lib/libvirt/images/${name}/${name}.img" } } -- cgit v1.1