Added option to set enable_anonymous_upload

Change-Id: If64f03f22cde99fe5b31b69bd8c73caff029da17
This commit is contained in:
Megan Guiney 2018-02-13 17:00:38 -08:00 committed by Chris Hoge
parent 6c2e816318
commit e22ef04d4f
3 changed files with 6 additions and 1 deletions

View File

@ -58,6 +58,10 @@ class refstack::params (
$api_url = "${web_url}/api"
# set the flag to enable anonymous upload (or not)
$enable_anonymous_upload = false
# CA file needs special treatment, since we want the path variable
# to be undef in some cases.
if $ssl_ca == undef and $ssl_ca_content != undef {

View File

@ -1,6 +1,6 @@
{
"name": "openstackci-refstack",
"version": "0.0.1",
"version": "0.0.2",
"author": "Openstack CI",
"summary": "Puppet module for the OpenStack RefStack",
"license": "Apache 2.0",

View File

@ -5,6 +5,7 @@ ui_url=<%= scope.lookupvar("::refstack::params::web_url") %>
[api]
api_url =<%= scope.lookupvar("::refstack::params::api_url") %>
enable_anonymous_upload =<%= scope.lookupvar("::refstack::params::enable_anonymous_upload") %>
[database]