Add some comments to all the existing defined ztasks
This commit is contained in:
parent
a39a994062
commit
5003d5eeff
|
@ -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 {
|
task Echo {
|
||||||
parameters {
|
parameters {
|
||||||
msg {
|
msg {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/*
|
||||||
|
* Invoke pkg-install(8) on the FreeBSD machine
|
||||||
|
*/
|
||||||
|
|
||||||
task FreeBSDPkgInstall {
|
task FreeBSDPkgInstall {
|
||||||
parameters {
|
parameters {
|
||||||
packages {
|
packages {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/*
|
||||||
|
* Invoke zypper install on a openSUSE/SLES target
|
||||||
|
*/
|
||||||
|
|
||||||
task ZypperInstall {
|
task ZypperInstall {
|
||||||
parameters {
|
parameters {
|
||||||
packages {
|
packages {
|
||||||
|
|
|
@ -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 {
|
task Bash {
|
||||||
parameters {
|
parameters {
|
||||||
script {
|
script {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/*
|
||||||
|
* The sh task is a simple passthrough to /bin/sh on the target machine
|
||||||
|
*/
|
||||||
|
|
||||||
task Sh {
|
task Sh {
|
||||||
parameters {
|
parameters {
|
||||||
script {
|
script {
|
||||||
|
|
Loading…
Reference in New Issue