<?xml version="1.0"?>
<template name="apache">

<shortdesc lang="en">Apache Web Server</shortdesc>
<longdesc lang="en">
Create a single primitive resource of type apache.
</longdesc>

<parameters>

<parameter name="id" required="1">
<shortdesc lang="en">Resource ID</shortdesc>
<longdesc lang="en">
Unique ID for this Apache resource in the cluster.
</longdesc>
<content type="string" default="apache"/>
</parameter>

<parameter name="configfile" required="1">
<shortdesc lang="en">Apache config file</shortdesc>
<longdesc lang="en">
Full pathname of the Apache configuration file</longdesc>
<content type="string" default="/etc/apache2/httpd.conf"/>
</parameter>

</parameters>

<crm_script>
primitive <insert param="id"/> ocf:heartbeat:apache
  params
    configfile="<insert param="configfile"/>"
  op start timeout="40" op stop timeout="60"
  op monitor interval="10" timeout="20"
</crm_script>

</template>
