summaryrefslogtreecommitdiff
path: root/global/overlay
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay')
-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