summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Ilyin <dilyin@mirantis.com>2016-07-14 13:59:20 -0500
committerDmitry Ilyin <dilyin@mirantis.com>2016-07-14 14:33:57 -0500
commit9c48a9799e4094f69e115746d7e880dc1b6ca5db (patch)
tree459be3423c34e5130ddfc8cd93a3749f50778798
parent7ce9a11467f0857fddf635e03c36c0a6d919498c (diff)
Fix task role report
* Use roles array instead of a single role Change-Id: Ia995b64f827bb78ffd7888f14130ae0ca289ef7f
Notes
Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Dmitry Ilyin <dilyin@mirantis.com> Workflow+1: Dmitry Ilyin <dilyin@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 18 Jul 2016 16:29:08 +0000 Reviewed-on: https://review.openstack.org/342357 Project: openstack/fuel-noop-fixtures Branch: refs/heads/master
-rw-r--r--lib/noop/task/report.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/noop/task/report.rb b/lib/noop/task/report.rb
index 96bf852..e477763 100644
--- a/lib/noop/task/report.rb
+++ b/lib/noop/task/report.rb
@@ -13,8 +13,8 @@ Spec: <%= task.file_path_spec %>
13Modules: <%= Noop::Config.list_path_modules.join(':') %> 13Modules: <%= Noop::Config.list_path_modules.join(':') %>
14Manifest: <%= task.file_path_manifest %> 14Manifest: <%= task.file_path_manifest %>
15 15
16Node: <%= task.hiera_lookup 'fqdn' or '?' %> 16Node: <%= task.hiera_lookup 'fqdn', '?' %>
17Role: <%= task.hiera_lookup 'role' or '?' %> 17Roles: <%= task.hiera_array('roles', ['?']).join(' ') %>
18 18
19Hiera hierarchy: 19Hiera hierarchy:
20<% task.hiera_hierarchy.each do |element| -%> 20<% task.hiera_hierarchy.each do |element| -%>