diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2011-05-16 11:19:17 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-06-14 12:36:45 -0500 |
commit | fa3431d204add1baab2dd1e6ca5326f2bf1749fe (patch) | |
tree | bde8afdf5123cd9273d37dea60abb7bce3cf9f6c /doc | |
parent | 87aca88c41efaaa5a37fb415ced67cbbcfc34ff5 (diff) | |
download | bcfg2-fa3431d204add1baab2dd1e6ca5326f2bf1749fe.tar.gz bcfg2-fa3431d204add1baab2dd1e6ca5326f2bf1749fe.tar.bz2 bcfg2-fa3431d204add1baab2dd1e6ca5326f2bf1749fe.zip |
doc: Better document PostInstall entries
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/server/configurationentries.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/server/configurationentries.txt b/doc/server/configurationentries.txt index 5602da189..91aed99b6 100644 --- a/doc/server/configurationentries.txt +++ b/doc/server/configurationentries.txt @@ -34,6 +34,22 @@ Non-POSIX entries | Service | System Services | name, type, status, target | +-------------+---------------------+-----------------------------+ +.. note:: + + PostInstall entries are deprecated in favor of Action entries. In + fact, a PostInstall entry is simply a specific type of Action. + Basically, the following are equivalent:: + + .. code-block:: xml + + <PostInstall name='foo'/> + + and + + .. code-block:: xml + + <Action timing='post' when='modified' name='n' command='foo' status='ignore'/> + POSIX entries ============= @@ -48,7 +64,7 @@ will only contain a *name* attribute. The type will be added by the plugin that handles the entry in the case of `Cfg`_, `TGenshi`_, or `TCheetah`_. If the entry is handled by the `Rules`_ plugin (i.e. it is a device, directory, hardlink, symlink, etc), then you will specify both -the *type* and any other necessary attributes in `Rules`_. +the *type* and any other necessary attributes in `Rules`_. Running ``bcfg2-lint`` will check your configuration specification for the presence of any mandatory attributes that are necessary for the |