6 Commits

Author SHA1 Message Date
Jenkins
ffcc946a6b Merge "Fix rpms being installed via DeployArtifactURLs" 2017-06-23 17:05:14 +00:00
Arie Bregman
662a1a73f6 Specify file url when deploy-artifacts fails
Change-Id: Iccd31c798b91c494b20489d52e289d9a250b929c
2017-06-21 12:55:11 +03:00
Alex Schultz
84e37fe8c7 Fix rpms being installed via DeployArtifactURLs
The deploy-artifacts.sh script is supposed to support installing rpms
when provided by DeployArtifactUrls. The problem is that it uses yum to
install which does not actually work unless the filename ends with .rpm.
This change updates the script to rename the downloaded file to end with
.rpm if it is an rpm so that it is properly installed.

Change-Id: I048d2b4474f9efe424e98e3868f325704e9c352f
Closes-Bug: #1697102
2017-06-09 15:55:16 -06:00
Christian Schwede
f7e8a043d9 Fix bug when using multiple DeployArtifactURLs
The script tries to download all artifact URLs with a single
request, instead of downloading each URL on its own if
multiple DeployArtifactURLs were given.

Change-Id: I6a8be699aff7023a67702bb1d3ddc2273984cd08
2016-12-02 16:10:52 +00:00
Giulio Fidente
b1624dd33d Use --globoff when downloading artifacts
We do not encode the chars like [] possibly found in  the artifacts
URL, so curl tries to glob against IPv6 addresses in brackets. This
change adds --globoff to the curl options so that IPv6 addresses in
brackets are not misinterpreted.

Closes-Bug: 1640148
Change-Id: Ic86ba1e5fb674bc15b4bcc6bd3ea9e943c4fbf8e
2016-11-08 12:19:27 +00:00
Dan Prince
55054f02d7 Add support for DeployArtifactURLs
Adds a new nested stack deployment which allows operators to
opt-in to deploy tarball's and RPM packages by setting
DeployArtifactURLs as a parameter_default in a Heat
environment.

The intent is to use this setting to allow t-h-t to
transparently deploy things like tarballs of puppet modules
via a Swift Temp URL.

Change-Id: I1bad4a4a79cf297f5b6e439e0657269738b5f326
Implements: blueprint puppet-modules-deployment-via-swift
2016-02-26 16:55:44 -05:00