aboutsummaryrefslogtreecommitdiff
path: root/consfigurator.asd
Commit message (Collapse)AuthorAge
* release Consfigurator 1.0.3 (-1 to Debian unstable)v1.0.3debian/1.0.3-1archive/debian/1.0.3-1Sean Whitton2022-06-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* wrap OSICAT:USER-INFO with getent(1) fallbackSean Whitton2022-06-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 1.0.2 (-1 to Debian unstable)v1.0.2debian/1.0.2-1archive/debian/1.0.2-1Sean Whitton2022-05-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 1.0.1 (-1 to Debian unstable)v1.0.1debian/1.0.1-1archive/debian/1.0.1-1Sean Whitton2022-05-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add tests for pass(1) data sourceDavid Bremner2022-05-05
| | | | | | | | Test the several cases of transforming (IDEN1 IDEN2) to a filesystem location. Tricky cases include an illegal hostname in IDEN1 and shadowing of an entry by one prefixed with '_'. Signed-off-by: David Bremner <david@tethera.net>
* introduce the pass(1) data sourceDavid Bremner2022-05-05
| | | | | | | IDEN1 is mapped to a containing directory beneath a user defined pass(1) store, and IDEN2 completes the path to a gpg encrypted file. Signed-off-by: David Bremner <david@tethera.net>
* initial tests for CONSFIGURATOR.DATA.PGPDavid Bremner2022-05-05
| | | | | | | Define some simple regression tests to guard against breakage due to the refactoring of gnupg usage. Signed-off-by: David Bremner <david@tethera.net>
* run tests with temporary gpg homeDavid Bremner2022-05-05
| | | | | | | | | | | The big picture change here is the introduction of a custom test runner which allows setting up and tearing down various data sources (or other resources) for the test suite. In order to parse the output of gpg, provide a new exported function CONSFIGURATOR:STRIP-PREFIX. Signed-off-by: David Bremner <david@tethera.net>
* add package CONSFIGURATOR.DATA.UTILDavid Bremner2022-05-05
| | | | | | | | | | | | | | This package is intended to provide a home for utility functions used by multiple data sources. Initially move a local function from CONSFIGURATOR.DATA.FILES-TREE, and slightly generalize it to support an extension or TYPE argument. Note that the goal of LITERAL-DATA-PATHNAME is to map (IDEN1 IDEN2) to existing paths in a user-maintained file hierarchy. This is quite different from DATA-PATHNAME, which escapes various characters to map to a safe internal filename, effectively flattening a directory hierarchy into a single level. Signed-off-by: David Bremner <david@tethera.net>
* release Consfigurator 1.0.0 (-1 to Debian unstable)v1.0.0debian/1.0.0-1archive/debian/1.0.0-1Sean Whitton2022-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 0.14.0 (-1 to Debian unstable)v0.14.0debian/0.14.0-1archive/debian/0.14.0-1Sean Whitton2022-02-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Add some properties to install and configure PostgresqlDavid Bremner2022-02-02
| | | | | | | To do common tasks like adding users in an idempotent way requires some non-obvious incantations, so it is worth providing properties for these tasks. Signed-off-by: David Bremner <david@tethera.net>
* release Consfigurator 0.13.0 (-1 to Debian unstable)v0.13.0debian/0.13.0-1archive/debian/0.13.0-1Sean Whitton2021-12-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add :FILES-TREE data sourceDavid Bremner2021-12-15
| | | | | | | This allows the user to conveniently maintain a set of files in their consfig tree (or elsewhere) for deployment as data. Signed-off-by: David Bremner <david@tethera.net>
* release Consfigurator 0.12.3 (-1 to Debian unstable)v0.12.3debian/0.12.3-1archive/debian/0.12.3-1Sean Whitton2021-11-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace usage of UIOP version comparison utilities with our ownSean Whitton2021-11-28
| | | | | | | | | DATA.GIT-SNAPSHOT generates version numbers like 2342423.ab09890f2bcd where only the first, purely numerical component is intended for comparison, and the second component is just additional information. UIOP's utilities don't give the correct answers for cases like that; e.g. (uiop:version<= "1.a" "0") => T. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 0.12.2 (-1 to Debian unstable)v0.12.2debian/0.12.2-1archive/debian/0.12.2-1Sean Whitton2021-11-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 0.12.1 (-1 to Debian unstable)v0.12.1debian/0.12.1-1archive/debian/0.12.1-1Sean Whitton2021-11-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 0.12.0 (-1 to Debian unstable)v0.12.0debian/0.12.0-1archive/debian/0.12.0-1Sean Whitton2021-11-08
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add LXC properties, :LXC{,-UNPRIV-ATTACH} connections, WITH-HOMEDIRSean Whitton2021-11-08
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add Linux namespace-entering connectionsSean Whitton2021-11-08
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add CAPABILITY-P and grovel for some Linux capability constantsSean Whitton2021-11-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* HANDLE-FORK-REQUEST: immediately begin reading from out & err pipesSean Whitton2021-10-23
| | | | | | | Previously we waited for waitpid(2) to return before reading from the pipes. If either pipe filled up before the child process exited, we would deadlock. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :CHROOT.FORK: unshare mount namespace before making temporary mountsSean Whitton2021-10-23
| | | | | | | | | This avoids some cases of interference between the deployment of the chroot and other system activity. For example, before this change, the :ALWAYS-DEPLOYS option to LIBVIRT:KVM-BOOTS-CHROOT{,-FOR} could interact with Virtiofs in such a way as to break the running VM. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add wrappers of some system functions to manipulate POSIX.1e ACLsSean Whitton2021-10-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* install system deps by searching for package managers on PATHSean Whitton2021-10-23
| | | | | | | | | | | | | | | | With this change we handle the situation in which we don't know the OS of a host on which we need to install system packages more cleanly than before. Also rely on the new PACKAGE:INSTALLED to install the OS bootstrapper in INSTALLER:CLEANLY-INSTALLED-ONCE. This allows us to simplify usage of the property by replacing the ORIGINAL-OS argument with ORIGINAL-OS-ARCHITECTURE. Making this change does mean that we now have two ways to specify the different names a package has on different OSs: (i) something like OS:ETYPECASE where each branch applies a property which invokes an OS-specific package manager; and (ii) the plists supplied to PACKAGE:INSTALLED. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 0.11.0 (-1 to Debian unstable)v0.11.0debian/0.11.0-1archive/debian/0.11.0-1Sean Whitton2021-09-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use CFFI, mostly via Osicat, for all syscalls/libc except fork(2)Sean Whitton2021-09-09
| | | | | | | | | | Also replace some calls to chmod(1) with calls to chmod(2). Using CFFI rather than implementation-specific wrappers should be better for portability. Also with this commit we stop hard coding types like uid_t as :UNSIGNED-INT, which was less portable. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add dep on Anaphora and use APROG1, ALET & AAND in various placesSean Whitton2021-09-08
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 0.10.0 (-1 to Debian unstable)v0.10.0debian/0.10.0-1archive/debian/0.10.0-1Sean Whitton2021-08-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 0.9.1 (-1 to Debian unstable)v0.9.1debian/0.9.1-1archive/debian/0.9.1-1Sean Whitton2021-08-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 0.9.0v0.9.0Sean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move remote Lisp images part of data.lisp to its own fileSean Whitton2021-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add SWAP:HAS-SWAP-FILESean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace live-build(7) properties with DISK:DEBIAN-LIVE-ISO-BUILTSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add AT-END, REBOOT:REBOOTED-AT-ENDSean Whitton2021-07-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add TIMEZONE:CONFIGUREDSean Whitton2021-06-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add some firewalld propertiesSean Whitton2021-06-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add LETS-ENCRYPT:CERTIFICATE-OBTAINEDSean Whitton2021-06-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add :LOCAL-FILE data sourceSean Whitton2021-06-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add some very simple systemd service propertiesSean Whitton2021-06-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add some basic Apache web server propertiesSean Whitton2021-06-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add a number of git, gpg and cron propertiesSean Whitton2021-06-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add PROPAPPARGS and some Postfix propertiesSean Whitton2021-06-18
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add properties to build and configure sbuild schrootsSean Whitton2021-06-08
| | | | | | Based on properties I wrote for Propellor. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add PERIODIC:AT-MOSTSean Whitton2021-06-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* MAP-PROPSPEC-PROPAPPS: trivial-macroexpand-all -> agnostic-lizardSean Whitton2021-06-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release Consfigurator 0.8.0 (-1 to Debian unstable)v0.8.0debian/0.8.0-1archive/debian/0.8.0-1Sean Whitton2021-06-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add NETWORK:STATICSean Whitton2021-05-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add LIBVIRT:{INSTALLED,DEFAULT-NETWORK-{AUTO,}STARTED}Sean Whitton2021-05-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>