You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
ansgarz 85697f43f9 add grafana-agent 2 years ago
.idea-configs refactor: *.k3s -> server 2 years ago
.run replace assert in tests with junit assertTrue 2 years ago
doc update doc 2 years ago
gradle/wrapper v0.8.33-SNAPSHOT - upd deps, fix fatJar Main class 3 years ago
src add grafana-agent 2 years ago
testextensive.run add more tags extensivecontainertest & fix downloadFromURL_local_file_with_incorrect_checksum 2 years ago
.gitignore add syspec 2 years ago
.gitlab-ci.yml release-0.9.18 - add pipeline artifacts for syspec 2 years ago
Dockerfile add Dockerfile 3 years ago
LICENSE update README.md 3 years ago
README.md update README.md 2 years ago
WorkplaceConfigExample.yaml add modules to desktop cli 2 years ago
build.gradle [skip ci] 0.11.2-SNAPSHOT 2 years ago
gradle.properties run container tests in ci 3 years ago
gradlew initial commit 3 years ago
gradlew.bat initial commit 3 years ago
settings.gradle correct maven name to provs 3 years ago

README.md

provs

pipeline status

DeltaChat chat over e-mail | team@social.meissa-gmbh.de team@social.meissa-gmbh.de | Website & Blog

Purpose

provs provides cli-based tooling for provisioning desktop or server resp. perform system checks.

  • provs-desktop minimal - provides a minimal setup (e.g. swappiness / randomutils) e.g. for setup on a VirtualBox
  • provs-desktop office - provides enhancements like zim / gopass / fakturama
  • provs-desktop ide - provides development environments for java / kotlin / python / clojure / terraform
  • provs-server k3s - provides a production ready & k3s setup with dualstack option
  • provs-syspec - verifies a system according to the provided system spec config file

In general provs 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

Status

under development - we are working hard on setting up our environments using provs.

Try out

Prerequisites

provs-desktop

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

Provision a desktop

provs-desktop.jar basic local
# or an office desktop remote:
provs-desktop.jar office myuser@myhost.com -p

In the last case you'll be prompted for the password of the remote user due to option -p.

Provision k3s

provs-server.jar k3s local
# or remote: 
provs-server.jar k3s myuser@myhost.com    # using ssh-authentication - alternatively use option -p for password authentication

Performing a system check

provs-syspec.jar local 
# or remote:
provs-syspec.jar myuser@myhost.com

The default config-file for the system check is syspec-config.yaml, you can specify a different file with option -c <config-file>.

Get help

To get help you can make use of the -h option:

provs-desktop.jar -h
provs-server.jar -h
provs-syspec.jar -h