diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-07-27 13:46:03 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-07-27 13:46:03 -0400 |
commit | 102f791302888c5b5b576c3a1be937b433768a40 (patch) | |
tree | d7c0b591bcb0222718c9f58e353f4da152e7372c | |
parent | dd05c92699e657990c77af311b85fbef30472c11 (diff) | |
download | third_party-cobbler-102f791302888c5b5b576c3a1be937b433768a40.tar.gz third_party-cobbler-102f791302888c5b5b576c3a1be937b433768a40.tar.xz third_party-cobbler-102f791302888c5b5b576c3a1be937b433768a40.zip |
Changelog + documentation on the new snippet feature.
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | docs/cobbler.pod | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -5,6 +5,7 @@ Cobbler CHANGELOG - Have cobbler check ensure services are started - Add cobbler validateks command to look for broken rendered kickstarts - Added -v/--version +- Added SNIPPET::foo capability to pull /var/lib/cobbler/snippets/foo into templates (anywhere) * Fri Jul 20 2007 - 0.5.1 - Added logging for cobblerd -- /var/log/cobbler/cobblerd.log diff --git a/docs/cobbler.pod b/docs/cobbler.pod index 42270e7..60ada41 100644 --- a/docs/cobbler.pod +++ b/docs/cobbler.pod @@ -480,7 +480,9 @@ Templated kickstart files are processed by the templating program/package Cheeta When working with Cheetah, be sure to escape any shell macros that look like "$(this)" with something like "\$(this)" or errors may show up during the sync process. -Should you want to express larger sections of templating (more that can be decently expressed on the command line), you may want to edit /var/lib/cobbler/ files directly. Keep in mind that changes need to be valid YAML 1.0 syntax and "cobbler sync" should be run after making any changes to those files. +=head2 KICKSTART SNIPPETS + +Anywhere a kickstart template mentions SNIPPET::snippet_name, the file named /var/lib/cobbler/snippet/snippet_name (if present) will be included automatically in the kickstart template. This serves as a way to recycle frequently used kickstart snippets without duplication. Snippets can contain templating variables, and the variables will be evaluated according to the profile and/or system as one would expect. =head2 KICKSTART VALIDATION |