diff options
author | 2016-12-05 14:12:37 +0000 | |
---|---|---|
committer | 2016-12-05 14:12:37 +0000 | |
commit | a45fbe02f4ac27a2191c375de06d0a79778cc40a (patch) | |
tree | 040ac4d64116894501bee887625bbb3cf313491c /puppet/deploy-artifacts.sh | |
parent | a23ad11958ac23b042facedd4dde9281c4a353fd (diff) | |
parent | f7e8a043d92bdf759768d9cded62130425af6f64 (diff) |
Merge "Fix bug when using multiple DeployArtifactURLs"
Diffstat (limited to 'puppet/deploy-artifacts.sh')
-rw-r--r-- | puppet/deploy-artifacts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/deploy-artifacts.sh b/puppet/deploy-artifacts.sh index 8bcbbf4c..4e1ad89f 100644 --- a/puppet/deploy-artifacts.sh +++ b/puppet/deploy-artifacts.sh @@ -8,7 +8,7 @@ trap cleanup EXIT if [ -n "$artifact_urls" ]; then for URL in $(echo $artifact_urls | sed -e "s| |\n|g" | sort -u); do - curl --globoff -o $TMP_DATA/file_data "$artifact_urls" + curl --globoff -o $TMP_DATA/file_data "$URL" if file -b $TMP_DATA/file_data | grep RPM &>/dev/null; then yum install -y $TMP_DATA/file_data elif file -b $TMP_DATA/file_data | grep 'gzip compressed data' &>/dev/null; then |