Update poise-archive and poise-service cookbooks
This commit is contained in:
@@ -112,12 +112,7 @@ module PoiseArchive
|
||||
def move_files(tmpdir)
|
||||
entries_at_depth(tmpdir, new_resource.strip_components).each do |source|
|
||||
target = ::File.join(new_resource.destination, ::File.basename(source))
|
||||
# If we are in keep_existing mode, the target might exist already.
|
||||
# This is not a great solution and won't have exactly the same behavior
|
||||
# as the other providers, but it's something at least.
|
||||
FileUtils.rm_rf(target) if ::File.exist?(target)
|
||||
# At some point this might need to fall back to a real copy.
|
||||
::File.rename(source, target)
|
||||
FileUtils.mv(source, target, secure: true)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -16,5 +16,5 @@
|
||||
|
||||
|
||||
module PoiseArchive
|
||||
VERSION = '1.4.0'
|
||||
VERSION = '1.5.0'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user