36
36
file_bucket_file = Puppet::FileBucket::File.new(contents, :bucket_path => @local_path)
37
37
files_original_path = absolutize_path(file)
40
41
# Make a HEAD request for the file so that we don't waste time
41
42
# uploading it if it already exists in the bucket.
43
44
Puppet::FileBucket::File.indirection.save(file_bucket_file, dest_path)