diff --git a/ra/next/Makefile b/ra/next/Makefile index 5a985f0..128b6be 100644 --- a/ra/next/Makefile +++ b/ra/next/Makefile @@ -1,19 +1,23 @@ # Basic DocBook mangling makefile. # # BASENAME=resource-agent-api +GRAMMAR=ra-api.ng +TEST_FILES=ra-metadata-example-1.0.xml ra-metadata-example.xml .PHONY: all clean %.html: %.md pandoc -f markdown -o $@ $^ %.pdf: %.md pandoc -f markdown -o $@ $^ all: $(BASENAME).pdf $(BASENAME).html clean: rm $(BASENAME).pdf $(BASENAME).html||true +check: $(GRAMMAR) $(TEST_FILES) + xmllint --relaxng $(GRAMMAR) --noout $(TEST_FILES) diff --git a/ra/next/ra-metadata-example-1.0.xml b/ra/next/ra-metadata-example-1.0.xml new file mode 100644 index 0000000..71a5dd0 --- /dev/null +++ b/ra/next/ra-metadata-example-1.0.xml @@ -0,0 +1,105 @@ + + + + + + +1.0 + + + + + + + + + +The resource name is the directory where the filesystem will be actually +mounted. Please make sure it exists. + + + +Mountpoint + + + + + + + + +When mounting a filesystem on a specific mountpoint, you have to specify which +device should be mounted; this will usually be similiar to /dev/sda1 or +/dev/volumegroup/logicalvolume when using LVM. + +Device to be mounted + + + + + +You should chose a journaled filesystem for the shared storage to ensure that +the filesystem remains consistent and that it can be mounted without an +expensive fsck run; recommendations include reiserfs, ext3 and XFS. + +Type of the filesystem + + + + + +The mount options used for mounting a filesystem; normally this is set to +defaults, but you may want to modify this if you require a read-only +mount or something similar. + +Mount options for this filesystem + + + + + + + + + + + + + + + + + + + + + + + + +403 + + +