Add some comments to all the existing defined ztasks

This commit is contained in:
R Tyler Croy 2021-01-01 10:08:17 -08:00
parent a39a994062
commit 5003d5eeff
5 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,8 @@
/*
* The echo test takes a string and just uses the shell `echo` on the target
* to echo it back
*/
task Echo {
parameters {
msg {

View File

@ -1,3 +1,7 @@
/*
* Invoke pkg-install(8) on the FreeBSD machine
*/
task FreeBSDPkgInstall {
parameters {
packages {

View File

@ -1,3 +1,7 @@
/*
* Invoke zypper install on a openSUSE/SLES target
*/
task ZypperInstall {
parameters {
packages {

View File

@ -1,3 +1,10 @@
/*
* The bash task is a simple passthrough to bash.
*
* Since bash is not guaranteed to be in the same location on every machine
* This relies on /usr/bin/env to help find bash in the $PATH on the target
*/
task Bash {
parameters {
script {

View File

@ -1,3 +1,7 @@
/*
* The sh task is a simple passthrough to /bin/sh on the target machine
*/
task Sh {
parameters {
script {