This file is indexed.

/usr/share/maas/web/static/js/node.js is in maas-region-controller-min 1.5+bzr2252-0ubuntu1.

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
/* Copyright 2012-2014 Canonical Ltd.  This software is licensed under the
 * GNU Affero General Public License version 3 (see the file LICENSE).
 *
 * Node model.
 *
 * @module Y.maas.node
 */

YUI.add('maas.node', function(Y) {

Y.log('loading maas.node');
var module = Y.namespace('maas.node');

/**
 * A Y.Model to represent a Node.
 *
 */
module.Node = Y.Base.create('nodeModel', Y.Model, [], {
    idAttribute: 'system_id'
}, {
    ATTRS: {
        system_id: {
        },
        hostname: {
        },
        status: {
        }
    }
});

/**
 * A Y.ModelList that is meant to contain instances of Y.maas.node.Node.
 *
 */
module.NodeList = Y.Base.create('nodeList', Y.ModelList, [], {
    model: module.Node

});

}, '0.1', {'requires': ['model', 'model-list']}
);