diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
commit | d835b2cae8abc71958b69362162e6a70c3d7ef63 (patch) | |
tree | 81052e3d2ce3e1bcda085f73d925e9d6257dec15 /test/unittests/scripts/templates/apache.xml | |
parent | Initial commit. (diff) | |
download | crmsh-upstream.tar.xz crmsh-upstream.zip |
Adding upstream version 4.6.0.upstream/4.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/unittests/scripts/templates/apache.xml')
-rw-r--r-- | test/unittests/scripts/templates/apache.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/test/unittests/scripts/templates/apache.xml b/test/unittests/scripts/templates/apache.xml new file mode 100644 index 0000000..faf3ef0 --- /dev/null +++ b/test/unittests/scripts/templates/apache.xml @@ -0,0 +1,36 @@ +<?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> |