Version 0.1.0 Configuration and Ansible runs for services on many hosts

Pupitre

Values in layers, one static binary and one HCL file.

The console runs only the playbooks and the commands that the configuration file lists. No document of the store names a program. It is for teams that deploy services with Ansible.

See how it works

The page of a unit: each key with its value and the layer that gives it
A unit of a demo environment, with synthetic data.

How it works

Pupitre is one static binary. The page is inside. Only the runner node builds snapshots and starts Ansible.

Architecture of Pupitre: the browser, the edge, the single binary with the HTTP server, the access guard, the catalog, the store and the runner, and the managed hosts
The single binary. The HTTP server, the access guard, the catalog, the store and the runner are in one program.
The four layers of a value: the schema default, the environment, the unit and the host
Four layers. The last layer that gives a value wins. The page shows the value and the layer. Read the rules.
The run flow: a request, the queue, the lease, the snapshot and the check run, then the guard and the apply run
A check, then an apply. The apply needs a check of the same snapshot hash. Read the steps.
The resource tree of the access model: service, environment, unit and host, with the actions and the question to the PDP
The access model. A grant on an environment covers its units and hosts. Read the rules.

See it

Each picture comes from a live copy of the product, with synthetic data. Nothing is mocked.

The page of a unit: each key with its value and the layer that gives it
The unit page. Each key shows its value and the layer that gives it.
The list of environments
Environments. The page lists the environments that the subject can see.
The page of a unit in the dark theme
Two themes. The page has a light theme and a dark theme.
The history of versions of a unit
History. Each save is a version. You can compare two versions.
The record of a check run: one row for each host, the events and the output
Check run. The page shows one row for each host, the events and the output.
The page that starts a check: the choice of hosts and a message
Start a check. The person picks the hosts. The apply comes after a passed check.
The form of a command with typed parameters and a confirmation
Commands. A form from the typed parameters, with a confirmation.
The secrets of a unit: names and fingerprints, never values
Secrets. The page shows a fingerprint, never a value.
A unit at the width of a phone
Narrow screens. The page has no horizontal scroll at 390 pixels.

What Pupitre does

AreaWhat Pupitre does
ValuesFour layers: the schema default, the environment, the unit and the host. Each value has a type and a range from the schema.
SchemasA schema is a file that the configuration names. It lists the keys of a unit. A person who edits values cannot add a key.
RunsA check run builds a snapshot, hashes it and runs ansible-playbook with check and diff. An apply run needs a passed check of the same hash.
CommandsNamed actions of the configuration file, with typed parameters. A person launches them by hand, on chosen hosts.
SecretsWrite-only values with a fingerprint. The runner gives them to a playbook as files on a tmpfs, and it scrubs the output.
StoresA folder (files) with a lock and a history, or PostgreSQL. The commands export and copy-store move documents. The command import makes documents from an Ansible inventory.
AccessThe mode authzen checks an identity token and asks a PDP. The mode open needs a proxy that signs users in.
ConfigurationOne HCL file with a closed schema. A mistake stops the start. The command print-config shows each value and its source.
OperationJSON logs, Prometheus metrics, an OTLP exporter of traces and a second port for the probes.
PagePlain JavaScript, HTML and CSS with no framework and no build step. No request goes to another origin.

Try it in ten minutes

Download the archive and check it. The guide has each step, with an example of synthetic schemas and playbooks.

sh
curl -fsSLO https://github.com/ProcurAuth/pupitre/releases/download/v0.1.0/pupitre_0.1.0_linux_amd64.tar.gz
curl -fsSLO https://github.com/ProcurAuth/pupitre/releases/download/v0.1.0/SHA256SUMS
sha256sum --check --ignore-missing SHA256SUMS
tar -xzf pupitre_0.1.0_linux_amd64.tar.gz
pupitre_0.1.0_linux_amd64/pupitre print-reference --format hcl --profile local

The ProcurAuth family

Pupitre is a program of the ProcurAuth organisation. The organisation holds the open specification and the programs that follow it. The implementations page lists them, with the results of the conformance runs.