diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-15 17:24:18 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-15 17:24:18 -0700 |
commit | 822ce01040733b6203aaf0d222a5091417c9ad0b (patch) | |
tree | 26aa5605d63f5e0ce24acb43c87891f34bc17aa9 /doc/hosts.rst | |
parent | 306cd4a2b20d5733c20fd869e13c0422caed3026 (diff) | |
download | consfigurator-822ce01040733b6203aaf0d222a5091417c9ad0b.tar.gz |
add section for the semantics of particular hostattrs
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'doc/hosts.rst')
-rw-r--r-- | doc/hosts.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/hosts.rst b/doc/hosts.rst index 03e28ec..f3af469 100644 --- a/doc/hosts.rst +++ b/doc/hosts.rst @@ -18,3 +18,21 @@ other kinds of attribute, it might be that later entries supercede earlier ones, or that the entries should be combined in some way. Property ``:APPLY`` subroutines decide how to interpret each type of static informational attribute. + +Reserved names for static informational attributes +-------------------------------------------------- + +For attributes that will only be used among a co-ordinating group of +properties, use a non-keyword symbol, whose package is one in which some or +all of those properties are defined. This minimises the risk of any clashes. +Many attributes, however, will be shared across properties, and should use +keyword symbols. The semantics of these attributes are documented here: + +- ``:HOSTNAME``: the host's hostname + +- ``:DATA``: items of prerequisite data required by the host + +- ``:OS``: the operating system of the host + +- ``:APT.MIRROR``: for hosts running Debian or a Debian derivative, the host's + preferred apt mirror |