summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-05-09 16:33:00 +0200
committerLeif Johansson <leifj@sunet.se>2015-05-09 16:33:00 +0200
commitdb67305282bec64dfe081099b14697adc83ebb02 (patch)
tree8090e5e42a5b50b4df6769783ab643ebf25c1c9d /global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp
parent8098a9e3bbc4d3ae92880243a9b7fb554750afba (diff)
force ssh key on rootsunet-ops-2015-05-09-v07
Diffstat (limited to 'global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp')
-rw-r--r--global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp b/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp
index fa4caf9..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}/${name}-init.sh >/var/log/${hostname}-init.log 2>&1":
+ exec { "/var/lib/libvirt/images/${name}/${name}-init.sh":
onlyif => "test ! -f /var/lib/libvirt/images/${name}/${name}.img"
}
}