<?xml version="1.0"?>
<metainfo>
    <schemaVersion>2.0</schemaVersion>
    <services>
        <service>
            <name>CASSANDRA</name>
            <displayName>Cassandra</displayName>
            <comment>Apache Cassandra</comment>
            <version>2.1.10</version>

            <components>
                <component>
                    <name>CASSANDRA_NODE</name>
                    <displayName>Cassandra Node</displayName>
                    <category>MASTER</category>
                    <cardinality>1+</cardinality>
                    <commandScript>
                        <script>scripts/cassandra_server.py</script>
                        <scriptType>PYTHON</scriptType>
                        <timeout>600</timeout>
                    </commandScript>
                    <configFiles>
                        <configFile>
                            <type>yaml</type>
                            <fileName>cassandra.yaml</fileName>
                            <dictionaryName>cassandra-conf</dictionaryName>
                        </configFile>
                    </configFiles>
                </component>
            </components>

            <osSpecifics>
                <osSpecific>
                    <osFamily>any</osFamily>
                    <packages>
                        <package>
                            <name>cassandra21</name>
                        </package>
                        <package>
                            <name>PyYAML</name>
                        </package>
                    </packages>
                </osSpecific>
            </osSpecifics>
        </service>
    </services>
</metainfo>

<?xml version="1.0"?>
<metainfo>
    <schemaVersion>2.0</schemaVersion>
    <services>
        <service>
            <name>CASSANDRA</name>
            <displayName>Cassandra</displayName>
            <comment>Apache Cassandra</comment>
            <version>2.1.10</version>

            <components>
                <component>
                    <name>CASSANDRA_NODE</name>
                    <displayName>Cassandra Node</displayName>
                    <category>SLAVE</category>
                    <cardinality>1+</cardinality>
                    <commandScript>
                        <script>scripts/cassandra_server.py</script>
                        <scriptType>PYTHON</scriptType>
                        <timeout>600</timeout>
                    </commandScript>
                    <configFiles>
                        <configFile>
                            <type>yaml</type>
                            <fileName>cassandra.yaml</fileName>
                            <dictionaryName>cassandra-conf</dictionaryName>
                        </configFile>
                    </configFiles>
                </component>
            </components>

            <osSpecifics>
                <osSpecific>
                    <osFamily>any</osFamily>
                    <packages>
                        <package>
                            <name>cassandra21</name>
                        </package>
                        <package>
                            <name>PyYAML</name>
                        </package>
                    </packages>
                </osSpecific>
            </osSpecifics>
        </service>
    </services>
</metainfo>

Make it a SLAVE service
Make it a SLAVE service

It's not really a MASTER/SLAVE setup with Cassandra,
but we don't want to restrict removal like with a
MASTER service, so it's more akin to SLAVE.
