diff --git a/changelog/62074.fixed b/changelog/62074.fixed new file mode 100644 index 000000000000..9910d51c1b73 --- /dev/null +++ b/changelog/62074.fixed @@ -0,0 +1 @@ +Fix ordering of args to libcloud_storage.download_object module diff --git a/salt/states/libcloud_storage.py b/salt/states/libcloud_storage.py index b8b7aaae348e..a2a70f44389b 100644 --- a/salt/states/libcloud_storage.py +++ b/salt/states/libcloud_storage.py @@ -188,6 +188,6 @@ def file_present(container, name, path, profile, overwrite_existing=False): :type overwrite_existing: ``bool`` """ result = __salt__["libcloud_storage.download_object"]( - path, container, name, profile, overwrite_existing + container, name, path, profile, overwrite_existing ) return state_result(result, "Downloaded object", name, {})