Revert yadm.md & CONTRIBUTORS
yadm.md is generated from yadm.1 during release. CONTRIBUTORS is generated from Git history during release.
This commit is contained in:
parent
2e844766dd
commit
51752233e9
2 changed files with 1 additions and 18 deletions
|
@ -27,4 +27,3 @@ Patrick Hof
|
|||
Russ Allbery
|
||||
Satoshi Ohki
|
||||
Sheng Yang
|
||||
Jonathan Daigle
|
||||
|
|
18
yadm.md
18
yadm.md
|
@ -495,15 +495,6 @@
|
|||
most *nix systems. To use this processor, specify the value of
|
||||
"default" or just leave the value off (e.g. "##template").
|
||||
|
||||
esh
|
||||
ESH is a super light template processor written in POSIX
|
||||
compliant shell. With no other dependencies than awk. It should
|
||||
therefore run on any system. It can be "installed" by simply
|
||||
downloading the file. Also one of the great features of esh is
|
||||
that you can execute shell commands from inside templates. This
|
||||
can be verry usefull to use your own configuration variables
|
||||
from inside templates, like this `<% yadm config my-config %>`
|
||||
|
||||
j2cli To use the j2cli Jinja template processor, specify the value of
|
||||
"j2" or "j2cli".
|
||||
|
||||
|
@ -520,7 +511,7 @@
|
|||
During processing, the following variables are available in the tem-
|
||||
plate:
|
||||
|
||||
Default Jinja & Esh Description
|
||||
Default Jinja Description
|
||||
------------- ------------- --------------------------
|
||||
yadm.class YADM_CLASS Locally defined yadm class
|
||||
yadm.distro YADM_DISTRO lsb_release -si
|
||||
|
@ -563,13 +554,6 @@
|
|||
config=dev-whatever
|
||||
{% endif -%}
|
||||
|
||||
And an equivalent esh namedwhatever##template.esh would look like:
|
||||
|
||||
<% if [ "$YADM_USER" = "harvey" ]; then -%>
|
||||
config=<%= $YADM_CLASS %>-<%= $YADM_OS %>
|
||||
<% else -%>
|
||||
config=dev-whatever
|
||||
<% fi -%>
|
||||
|
||||
## ENCRYPTION
|
||||
It can be useful to manage confidential files, like SSH or GPG keys,
|
||||
|
|
Loading…
Reference in a new issue