This file is indexed.

/usr/share/chef-server-webui/app/views/nodes/index.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
.block#block-tables
  .content
    %h2.title
      Node List
    .inner
      = partial('navigation', :active => 'index')
    .content
      .inner
        %table.table
          %tr
            %th.first{:colspan => 2} Name
            %th  
            %th.last  
          - even = false
          - if @node_list.empty?
            - if session[:environment]
              %td{:colspan => 4}= "The environment #{session[:environment]} has no nodes"
            - else
              %td{:colspan => 4}= "You have no nodes - try connecting one, or creating or editing a #{link_to('node', url(:nodes))}"
          - else
            - @node_list.each do |node|
              %tr{:class => even ? "even": "odd" }
                %td{:colspan => 2}= link_to node, url(:node, { :id => node } )
                %td
                  = link_to('Edit', url(:edit_node, node)) 
                  |
                  = link_to('Delete', url(:node, node), :method => "delete", :confirm => "Really delete Node #{node}?  There is no undo.")
                - even = (not even)