From f385747aa10bacb48df44880c33961e42c9a69b7 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 8 May 2015 16:01:17 +0200 Subject: mode --- global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'global/overlay/etc/puppet/modules/sunet') 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 -- cgit v1.1