Commit Diff


commit - 6e5647975cb89abf6656cd1bfe1467c304b0eb2d
commit + 2bd0b615bdacf6668fdeaa8c7d741d9d9758090d
blob - 8023de07f5d861918ae4294d1582a2a5d0a63e40
blob + 46fec8e3bffcfd40c9e2eb82d60817c13ff239d4
--- Makefile
+++ Makefile
@@ -16,7 +16,7 @@
 .POSIX:
 PREFIX:=/usr/local
 SHELLS=ksh93 ksh yash sh
-UTILITY_VERSION=0.1.4
+UTILITY_VERSION=0.1.5
 UTILITY=$(PWD)/r7
 # To use the test suite, please edit or use environment for SSH parameters
 # SSH_ID=/path/to/.ssh/id_ed25519
blob - edbddcb50d5042a9844826841ef59fc48507834e
blob + db3ac5100b3d5b04925554bf8a1978910b9233df
--- index.md
+++ index.md
@@ -27,6 +27,7 @@ currently used as deployment and automation gear for `
 - [v0.1.2](https://inda.re/r7/releases/r7-0.1.2.tar.gz)
 - [v0.1.3](https://inda.re/r7/releases/r7-0.1.3.tar.gz)
 - [v0.1.4](https://inda.re/r7/releases/r7-0.1.4.tar.gz)
+- [v0.1.5](https://inda.re/r7/releases/r7-0.1.5.tar.gz)
 - [latest](https://inda.re/r7/releases/r7-latest.tar.gz)
 
 ## Documentation
blob - 506b189c4bf29c0d7ff86c5a67b2aa63e94976c9
blob + 8a48e540b4022b93b4c036724efb087653780caf
--- r7
+++ r7
@@ -776,7 +776,6 @@ _payload() (
 			done
 		)
 		template() (
-			set -x
 			while getopts "s:" arg; do
 				case $arg in
 				s) source=$OPTARG ;;
blob - 438ea66ea609c4a62eeb4ff72a6deb3a51e1b342
blob + 27e926306cae20ba89293c2a9ded04dd131bd94f
--- r7.1
+++ r7.1
@@ -1,7 +1,7 @@
 '\" t
 .\" Automatically generated by Pandoc 3.6.2
 .\"
-.TH "R7" "1" "Tue Jun 3 2025" "v0.1.4" "User Manual"
+.TH "R7" "1" "Tue Jun 3 2025" "v0.1.5" "User Manual"
 .SS Tutorial
 .SS Introduction
 R7 is a configuration management framework made to configure nodes with
@@ -889,6 +889,12 @@ source
 groupsource
 .IP "15." 4
 nodesource
+.IP "16." 4
+template
+.IP "17." 4
+grouptemplate
+.IP "18." 4
+nodetemplate
 .PP
    *   *   *   *   *
 .SS trace
@@ -1018,6 +1024,8 @@ source filename
 \f[B]\f[BI]Description:\f[B]\f[R] Change directory to the current group
 directory then call source with the file name as argument, produces an
 error if filename is not found from the group directory
+.PP
+\f[B]\f[BI]Usage:\f[B]\f[R]
 .IP
 .EX
 groupsource filename
@@ -1026,10 +1034,39 @@ groupsource filename
 \f[B]\f[BI]Description:\f[B]\f[R] Change directory to the current group
 directory then call node and source with the file name as argument
 without producing an error if the filename is not found
+.PP
+\f[B]\f[BI]Usage:\f[B]\f[R]
 .IP
 .EX
 nodesource filename
 .EE
+.SS template
+\f[B]\f[BI]Description:\f[B]\f[R] Template the files passed as arguments
+with the current environment or by sourcing a specified file
+.PP
+\f[B]\f[BI]Usage:\f[B]\f[R]
+.IP
+.EX
+template [\-s sourcefile] [file...]
+.EE
+.SS grouptemplate
+\f[B]\f[BI]Description:\f[B]\f[R] Change directory to the current group
+directory before calling template
+.PP
+\f[B]\f[BI]Usage:\f[B]\f[R]
+.IP
+.EX
+grouptemplate [\-s sourcefile] [file...]
+.EE
+.SS nodetemplate
+\f[B]\f[BI]Description:\f[B]\f[R] Change directory to the current node
+directory before calling template
+.PP
+\f[B]\f[BI]Usage:\f[B]\f[R]
+.IP
+.EX
+nodetemplate [\-s sourcefile] [file...]
+.EE
 .SH r7 library
 Usable from the r7 \f[CR]site\-config\f[R] file or sourced in the
 current shell using: