Add some package install tasks

This commit is contained in:
R Tyler Croy 2020-12-31 15:25:50 -08:00
parent 184d455b2d
commit dc1c67cf28
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
task FreeBSDPkgInstall {
parameters {
packages {
required = true
help = 'One or more space delimited packages for pkg(8) to install'
type = string
}
}
script {
inline = 'pkg install -y {{packages}}'
}
}

View File

@ -0,0 +1,13 @@
task ZypperInstall {
parameters {
packages {
required = true
help = 'One or more space delimited packages for zypper(8) to install'
type = string
}
}
script {
inline = 'zypper in -y {{packages}}'
}
}