Fix task role report

* Use roles array instead of a single role

Change-Id: Ia995b64f827bb78ffd7888f14130ae0ca289ef7f
This commit is contained in:
Dmitry Ilyin 2016-07-14 13:59:20 -05:00
parent 7ce9a11467
commit 9c48a9799e
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ Spec: <%= task.file_path_spec %>
Modules: <%= Noop::Config.list_path_modules.join(':') %>
Manifest: <%= task.file_path_manifest %>
Node: <%= task.hiera_lookup 'fqdn' or '?' %>
Role: <%= task.hiera_lookup 'role' or '?' %>
Node: <%= task.hiera_lookup 'fqdn', '?' %>
Roles: <%= task.hiera_array('roles', ['?']).join(' ') %>
Hiera hierarchy:
<% task.hiera_hierarchy.each do |element| -%>