From 3afd24d578006d68746f9ce35321d0ed34df92e2 Mon Sep 17 00:00:00 2001 From: David Vossel Date: Mon, 25 Aug 2014 15:01:13 -0500 Subject: [PATCH 3/4] High: doc: Add pcs to man page example section PCS and CRM SHELL now have their own example sections in the resource-agent man pages. Below is an example of the CRM SHELL and PCS examples for the IPaddr2 agent. EXAMPLE CRM SHELL The following is an example configuration for a IPaddr2 resource using the crm(8) shell: primitive p_IPaddr2 ocf:heartbeat:IPaddr2 \ params \ ip=string \ op monitor depth="0" timeout="20s" interval="10s" EXAMPLE PCS The following is an example configuration for a IPaddr2 resource using pcs(8) pcs resource create p_IPaddr2 ocf:heartbeat:IPaddr2 \ ip=string \ op monitor depth="0" timeout="20s" interval="10s" --- doc/man/ra2refentry.xsl | 141 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 123 insertions(+), 18 deletions(-) diff --git a/doc/man/ra2refentry.xsl b/doc/man/ra2refentry.xsl index 41a60aa..ac148ef 100644 --- a/doc/man/ra2refentry.xsl +++ b/doc/man/ra2refentry.xsl @@ -50,7 +50,8 @@ - + + @@ -403,10 +404,10 @@ - - + + - Example + Example CRM Shell The following is an example configuration for a @@ -428,7 +429,7 @@ \ params \ - + \ @@ -440,7 +441,7 @@ meta allow-migrate="true" \ - + @@ -457,15 +458,15 @@ - - + + - + = - + \ @@ -473,7 +474,7 @@ - + " @@ -486,23 +487,23 @@ - + - + - + op - + \ - + @@ -517,9 +518,113 @@ - + - + + + + + + Example PCS + + The following is an example configuration for a + + resource using + pcs8 + + + pcs resource create p_ + + + + : + + : + + + + \ + + + + + \ + + + + + + + --master + + + + + + + + + + + + + + = + + \ + + + + + + + + + + " + + " + + + + + + + + + + + + + + + op + + + + + \ + + + + + + + + + =" + + " + + + + + + + + + -- 1.8.4.2