No description
Find a file
2022-02-25 15:47:19 +01:00
.idea-configs refactor: *.k3s -> server 2022-01-18 20:10:18 +01:00
.run add only to cli 2022-02-24 22:27:01 +01:00
doc add verbs for infrastructure to Architecture 2022-02-24 18:51:54 +01:00
gradle/wrapper v0.8.33-SNAPSHOT - upd deps, fix fatJar Main class 2021-12-27 22:18:55 +01:00
src add more c4k modules 2022-02-25 15:47:19 +01:00
.gitignore minor fixes 2022-02-02 18:21:45 +01:00
.gitlab-ci.yml release commits should not be snapshoot published 2022-02-01 18:54:21 +01:00
build.gradle 0.9.9-SNAPSHOT 2022-02-25 13:51:03 +01:00
Dockerfile add Dockerfile 2021-02-25 20:11:00 +01:00
gradle.properties run container tests in ci 2021-02-25 19:57:06 +01:00
gradlew initial commit 2021-02-10 20:24:43 +01:00
gradlew.bat initial commit 2021-02-10 20:24:43 +01:00
install-provs.sh [skip ci] add install script 2021-12-10 13:24:15 +01:00
LICENSE update README.md 2021-02-11 18:03:13 +01:00
README.md [skip ci] update provs binaries to version 0.9.8 2022-02-25 15:05:26 +01:00
settings.gradle correct maven name to provs 2021-08-07 19:14:12 +02:00
WorkplaceConfigExample.yaml add modules to desktop cli 2022-02-22 22:36:48 +01:00

Provs framework

Provs is a framework for automating tasks for provisioning reasons and other purposes.

It combines

  • being able to use the power of shell commands
  • a clear and detailed result summary of the built-in execution handling (incl. failure handling and reporting)
  • the convenience and robustness of a modern programming language

Write once, run everywhere

Tasks can be run

  • locally
  • remotely
  • in a local docker container
  • in a remote container

Additionally, it is possible to define a custom processor if needed.

Usage

Prerequisites

Usage format

provs-desktop.jar <type> <target> [<options>]

type can be:

  • basic - install some basic packages)
  • office - install office software (LibreOffice), E-Mail (Thunderbird), etc
  • ide - same as office with additionally ide-software (VSCode, IntelliJ, etc)

target can be:

  • local
  • user123:mypassword@myhost.com - general format is: <user[:password]@host> -
    • if password is omitted, then ssh-keys will be used for authentication
    • if password is omitted but option -p is provided, then the password will be prompted interactively

options

  • -p for interactive password question

Show usage options

provs-desktop.jar -h

Examples

Provision a basic desktop workplace locally

provs-desktop.jar basic local

Provision an office desktop workplace remotely

provs-desktop.jar office myuser@myhost.com -p

You'll be prompted for the password of the remote user due to option -p.

Provision k3s

provs-server.jar k3s myuser@myhost.com