summaryrefslogtreecommitdiff
path: root/cfg/sample.cfg
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-24 11:46:07 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-24 11:46:07 +0000
commit3358c48463efcbe4357d14d3dbb03e39f47a7c49 (patch)
tree3b5451846c21d1f782a3bac1a8afc449f115c02e /cfg/sample.cfg
parentd37d8fdbfbf350ec52ddea67f5939963de15ab4f (diff)
Simple sample file.
Diffstat (limited to 'cfg/sample.cfg')
-rw-r--r--cfg/sample.cfg35
1 files changed, 35 insertions, 0 deletions
diff --git a/cfg/sample.cfg b/cfg/sample.cfg
new file mode 100644
index 0000000..34b65d9
--- /dev/null
+++ b/cfg/sample.cfg
@@ -0,0 +1,35 @@
+#
+# This is the sample configuration file which is installed with Custodian.
+#
+# Lines beginning with "#" are comments and are ignored, otherwise the general
+# form of lines is:
+#
+# TARGET must (not) run SERVICE otherwise 'some text'.
+#
+# TARGET is typically a hostname, or a URL, but it might also a macro. In this
+# context a macro is a simple list of hostnames. Any line involving a macro
+# as a target will be replaced, inline, once for each target.
+#
+# For example the following two snippets are equivilent:
+#
+
+##
+## Snippet 1
+##
+# MACRO_FOO is host1.example.com and host2.example.com.
+# MACRO_FOO must ping otherwise 'ping failure'.
+##
+
+##
+## Snippet 2
+##
+# host1.example.com must ping otherwise 'ping failure'.
+# host2.example.com must ping otherwise 'ping failure'.
+##
+
+
+
+#
+# Now we have some simple tests
+#
+