This file is indexed.

/usr/share/chef-server-webui/app/views/roles/show.html.haml is in chef-server-webui 10.12.0+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.block#block-tables
  .content
    %h2.title= "Role #{h @role.name}"
    .inner
      = partial("navigation", :active => "show")
      .content
        .inner
          .left
            %h3 Description
            = @role.description

          .left
            %h3
              = "Run List for Environment \"#{@current_env}\""
              = @env_run_list_exists ? "" : "(_default)"
            %table.table
              %tr
                %th.first Position
                %th Name
                %th Version
                %th.last Type
                - if @run_list.empty?
                  %tr
                    %td{:colspan => 2} This role does not include any roles or recipes.
                - else
                  -@run_list.each_with_index do |run_list_item, i|
                    %tr
                      %td.position= i
                      %td= run_list_item.name 
                      %td= run_list_item.version 
                      %td= run_list_item.type 
          .left.accordion
            %h3.head= link_to("Recipes", "#")
            %div
              %span.description.form.help
                This is the list of recipes, fully expanded, as they will be applied by the role in question.  
              %table#recipes.table
                %tr
                  %th.first Position
                  %th.last Name
                - if @run_list.empty?
                  %tr
                    %td{:colspan => 2} This role applies no recipes.
                - else
                  - @recipes.each_with_index do |recipe, i|
                    %tr
                      %td.position= i
                      %td= recipe
          .left 
            %h3 Default Attributes
            = build_tree('defattrs', @role.default_attributes)

          .left 
            %h3 Override Attributes
            = build_tree('overattrs', @role.override_attributes)