This file is indexed.

/usr/share/cluster/tomcat-5.metadata is in resource-agents 1:3.9.2-5ubuntu4.

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
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
<?xml version="1.0"?>
<resource-agent version="rgmanager 2.0" name="tomcat-5">
    <version>1.0</version>

    <longdesc lang="en">
        This defines an instance of Tomcat server
    </longdesc>
    <shortdesc lang="en">
        Defines a Tomcat server
    </shortdesc>

    <parameters>
        <parameter name="name" primary="1">
	    <longdesc lang="en">
	        Specifies a service name for logging and other purposes
	    </longdesc>
            <shortdesc lang="en">
                Name
            </shortdesc>
	    <content type="string"/>
        </parameter>

        <parameter name="config_file">
            <longdesc lang="en">
                Define absolute path to configuration file
            </longdesc>
            <shortdesc lang="en">
                Config File
            </shortdesc>
	    <content type="string" default="/etc/tomcat5/tomcat5.conf"/>
        </parameter>

	<parameter name="tomcat_user">
		<longdesc lang="en">
			User who runs the Tomcat server
		</longdesc>
		<shortdesc lang="en">
			User who runs the Tomcat server
		</shortdesc>
		<content type="string" default="tomcat" />
	</parameter>

	<parameter name="catalina_options">
		<longdesc lang="en">
			Other command-line options for Catalina
		</longdesc>
		<shortdesc lang="en">
			Other command-line options for Catalina
		</shortdesc>
		<content type="string" />
	</parameter>

	<parameter name="catalina_base">
		<longdesc lang="en">
			Cataliny base directory
		</longdesc>
		<shortdesc lang="en">
			Catalina base directory (differs for each service)
		</shortdesc>
		<content type="string" default="/usr/share/tomcat5" />
	</parameter>

	<parameter name="shutdown_wait">
		<longdesc lang="en">
			Wait X seconds for correct end of service shutdown
		</longdesc>
		<shortdesc lang="en">
			Wait X seconds for correct end of service shutdown
		</shortdesc>
		<content type="integer" default="30" />
	</parameter>

        <parameter name="service_name" inherit="service%name">
            <longdesc lang="en">
	    	Inherit the service name.  We need to know
		the service name in order to determine file
		systems and IPs for this service.
            </longdesc>
            <shortdesc lang="en">
	    	Inherit the service name.
            </shortdesc>
	    <content type="string"/>
        </parameter>
    </parameters>

    <actions>
        <action name="start" timeout="0"/>
	<action name="stop" timeout="0"/>

	<!-- Checks to see if it''s mounted in the right place -->
	<action name="status" interval="1m" timeout="10"/>
	<action name="monitor" interval="1m" timeout="10"/>

	<!-- Checks to see if we can read from the mountpoint -->
	<action name="status" depth="10" timeout="30" interval="5m"/>
	<action name="monitor" depth="10" timeout="30" interval="5m"/>

	<action name="meta-data" timeout="0"/>
	<action name="validate-all" timeout="0"/>
    </actions>

    <special tag="rgmanager">
    </special>
</resource-agent>