mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
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
@ -27,4 +27,3 @@ Patrick Hof
|
|||||||
Russ Allbery
|
Russ Allbery
|
||||||
Satoshi Ohki
|
Satoshi Ohki
|
||||||
Sheng Yang
|
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
|
most *nix systems. To use this processor, specify the value of
|
||||||
"default" or just leave the value off (e.g. "##template").
|
"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
|
j2cli To use the j2cli Jinja template processor, specify the value of
|
||||||
"j2" or "j2cli".
|
"j2" or "j2cli".
|
||||||
|
|
||||||
@ -520,7 +511,7 @@
|
|||||||
During processing, the following variables are available in the tem-
|
During processing, the following variables are available in the tem-
|
||||||
plate:
|
plate:
|
||||||
|
|
||||||
Default Jinja & Esh Description
|
Default Jinja Description
|
||||||
------------- ------------- --------------------------
|
------------- ------------- --------------------------
|
||||||
yadm.class YADM_CLASS Locally defined yadm class
|
yadm.class YADM_CLASS Locally defined yadm class
|
||||||
yadm.distro YADM_DISTRO lsb_release -si
|
yadm.distro YADM_DISTRO lsb_release -si
|
||||||
@ -563,13 +554,6 @@
|
|||||||
config=dev-whatever
|
config=dev-whatever
|
||||||
{% endif -%}
|
{% 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
|
## ENCRYPTION
|
||||||
It can be useful to manage confidential files, like SSH or GPG keys,
|
It can be useful to manage confidential files, like SSH or GPG keys,
|
||||||
|
Loading…
Reference in New Issue
Block a user