From b25bdb7d70aca3690d62ecd681cb7677c91e983a Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Thu, 26 Mar 2015 13:38:14 -0700 Subject: [PATCH] Modernize template syntax Change-Id: I1ef305f1e1d4bcca7a47049882a06ea732700062 --- templates/openstackwatch.ini.erb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/openstackwatch.ini.erb b/templates/openstackwatch.ini.erb index de290b2..6a27df4 100644 --- a/templates/openstackwatch.ini.erb +++ b/templates/openstackwatch.ini.erb @@ -2,35 +2,35 @@ [general] # only show certain projects (don't forget the openstack/ as start) -projects = <%= projects.join(", ") %> +projects = <%= @projects.join(", ") %> # The Json URL where is the gerrit system. -json_url = <%= json_url %> +json_url = <%= @json_url %> # Allow different mode to output to swift, by default 'combined' will # combined all rss in one and 'multiple' will upload all the projects # in each rss file. -output_mode = <%= mode %> +output_mode = <%= @mode %> # username to your swift cluster [swift] # username/tenant for swift with 2.0 or just username with 1.0 (i.e: # RAX). -username = <%= swift_username %> +username = <%= @swift_username %> # password or api key -password = <%= swift_password %> +password = <%= @swift_password %> # container to upload (probably want to be public) -container = <%= container %> +container = <%= @container %> # auth_url of the cluster, for Rackspace this is : # https://auth.api.rackspacecloud.com/v1.0 # or Rackspace UK : # https://lon.auth.api.rackspacecloud.com/v1.0 -auth_url = <%= swift_auth_url %> +auth_url = <%= @swift_auth_url %> # auth version (1.0 for Rackspace clouds, 2.0 for keystone backend clusters) -auth_version = <%= auth_version %> +auth_version = <%= @auth_version %> # vim: ft=dosini