summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-05-08 16:01:17 +0200
committerLeif Johansson <leifj@sunet.se>2015-05-08 16:01:17 +0200
commitf385747aa10bacb48df44880c33961e42c9a69b7 (patch)
tree29180a915c72fc0ba16463d8f836a30c8fde36d0
parent0e8ba15f1bfc9a2a92019a20f3443d8181df57c1 (diff)
-rw-r--r--global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp3
1 files changed, 2 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 fca56b6..096c25c 100644
--- a/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp
+++ b/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp
@@ -24,7 +24,8 @@ define sunet::cloudimage (
ensure => directory
}
file { "/var/lib/libvirt/cloud-init/${name}.sh":
- content => template("cloudimage/mk_cloud_image.erb")
+ content => template("sunet/cloudimage/mk_cloud_image.erb"),
+ mode => "0755"
} ->
exec { "/var/lib/libvirt/cloud-init/${name}.sh":
refreshonly => true