5.5. meta-data action

The meta-data action dumps the resource agent metadata to standard output. The output must follow the metadata format as specified in Section 2.4, “Metadata”.

foobar_meta_data {
    cat <<EOF
<?xml version="1.0"?>
<!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
<resource-agent name="foobar" version="0.1">
  <version>0.1</version>
  <longdesc lang="en">
...
EOF
}