diff options
author | Michael Scherer <misc@mageia.org> | 2011-03-29 23:05:00 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-03-29 23:05:00 +0000 |
commit | ea50e0d455d9ff8500888e1a8fea06e54ae7f972 (patch) | |
tree | 0f8eb6cda1e4ca4dd1bb527b0189e073a1324813 /modules | |
parent | 96138f1923632108b0a0be2585539b61a5c14743 (diff) | |
download | puppet-ea50e0d455d9ff8500888e1a8fea06e54ae7f972.tar puppet-ea50e0d455d9ff8500888e1a8fea06e54ae7f972.tar.gz puppet-ea50e0d455d9ff8500888e1a8fea06e54ae7f972.tar.bz2 puppet-ea50e0d455d9ff8500888e1a8fea06e54ae7f972.tar.xz puppet-ea50e0d455d9ff8500888e1a8fea06e54ae7f972.zip |
- fix wget option ( ie, do not create empty file )
Diffstat (limited to 'modules')
-rw-r--r-- | modules/libvirtd/manifests/download.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/libvirtd/manifests/download.rb b/modules/libvirtd/manifests/download.rb index a4852809..d0e6821b 100644 --- a/modules/libvirtd/manifests/download.rb +++ b/modules/libvirtd/manifests/download.rb @@ -10,7 +10,7 @@ define "libvirtd::download::netboot_images", :path, :versions, :archs, :mirror_p mirror_file_path = mirror_file_path.gsub(/%{version}/, v) for f in @files do file_name = "#{@path}/#{@name}_#{v}_#{a}_#{f}" - create_resource(:exec, "wget -q #{mirror_file_path}/#{f} -o #{file_name}", + create_resource(:exec, "wget -q #{mirror_file_path}/#{f} -O #{file_name}", :creates => file_name) end end |