aboutsummaryrefslogtreecommitdiff
path: root/src/property
Commit message (Collapse)AuthorAge
* FILE:HOST-{DATA,SECRET}-UPLOADED: accept multiple files to uploadSean Whitton2023-12-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Add LIBVIRT:KVM-BOOTS-LVM-LV and LIBVIRT:KVM-BOOTS-LVM-LV-FORSean Whitton2023-12-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:HOST-LOGICAL-VOLUMES-EXIST: fix adding /etc/fstab entriesSean Whitton2023-12-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* LIBVIRT::%CHECK-CHILD-HN: use ABORTED-CHANGESean Whitton2023-12-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out LIBVIRT::%MAKE-CHILD-HOST, LIBVIRT::%CHECK-CHILD-HNSean Whitton2023-12-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* GNUPG:SECRET-KEY-IMPORTED: call gpg with --batchDavid Bremner2023-09-13
| | | | | | | | | | | | | Without these arguments, gpg will fail with a message about inappropriate ioctl for device. This is similar to the issue discussed at <https://dev.gnupg.org/T5885>. Add the --batch argument to keep gpg from trying to interact with the tty. According to the docs --no-tty is only about restricting output. Signed-off-by: David Bremner <david@tethera.net>
* add REAPPLIED and PERIODIC:REAPPLIED-AT-MOST property combinatorsSean Whitton2023-03-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* PERIODIC:AT-MOST: use &BODY not &RESTSean Whitton2023-03-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add regexp trailing option to attempt to parse matches as numbersSean Whitton2023-03-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* new reader macros for shell- and Perl-style matching & replacementSean Whitton2023-03-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* support indented heredocs, add new "Reader macros" manual sectionSean Whitton2023-03-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* http -> https for fsf.org and gnu.org URIsSean Whitton2023-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:FIRST-DISK-INSTALLED-FOR: another advantage of non-nil CHROOTSean Whitton2023-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FIREWALLD::%FIREWALL-CMD: ensure that OFFLINE-APPLY param is a listSean Whitton2023-03-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* doc/: start generating API documentation from docstringsSean Whitton2023-03-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* make LXC:USER-CONTAINER{,-FOR} unapplicableSean Whitton2023-02-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:EMPTY-DIRECTORY-DOES-NOT-EXISTSean Whitton2023-02-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add LXC:USER-CONTAINER-STOPPEDSean Whitton2023-02-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APT properties: add non-free-firmware to generated sources listsSean Whitton2023-02-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CHROOT::%DEBOOTSTRAPPED: use EMPTY-REMOTE-DIRECTORY when recoveringSean Whitton2022-11-29
| | | | | | | If the root is a mount point, then when recovering from a failed debootstrap we need to remove its contents but not the root itself. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DOES-NOT-EXIST: fix :CHECK subroutineSean Whitton2022-11-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:SYMLINKED: delete existing links that point elsewhereSean Whitton2022-11-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:HAS-OWNERSHIP: avoid chown'ing when no ownership change neededSean Whitton2022-11-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APT properties: cache packages installed or removed this deploymentSean Whitton2022-11-29
| | | | | | Thanks to David Bremner for discussion and testing. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use WITH-CHANGES-DPKG-STATUS in preference to {ALL,NONE}-INSTALLED-PSean Whitton2022-08-25
| | | | | | | | This fixes at least one bug: previously APT:INSTALLED and APT:INSTALLED-MINIMALLY would report that a change was made whenever the list of packages passed to them contained the name of a virtual package. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APT:{ALL,NONE}-INSTALLED-P: add docstringsSean Whitton2022-08-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APT:PROXY: make unapplicableSean Whitton2022-08-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:SYMLINKED: document that the link target is literalSean Whitton2022-08-06
| | | | | Reported-by: Andreas Reuleaux <rx@a-rx.info> Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:CONTAINS-CONF-UNSPACEDSean Whitton2022-08-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* GRUB:GRUB-INSTALLED: fix --no-nvram logicSean Whitton2022-08-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rebuild the initramfs after populating the crypttabSean Whitton2022-07-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* disk.lisp: update copyright yearsSean Whitton2022-07-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace DISK:HOST-VOLUMES-CREATED, update & improve tutorialSean Whitton2022-07-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:WITH-OPENED-VOLUMES: include already open volumes in connattrsSean Whitton2022-07-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CHROOT-INSTALLED-TO-VOLUMES-FOR: add LEAVE-OPEN parameterSean Whitton2022-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:WITH-OPENED-VOLUMES: add support for leaving the volumes openSean Whitton2022-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out DISK::HOST-VOLUMES-JUST-ONE-PHYSICAL-DISKSean Whitton2022-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add support for passing arbitrary options to cryptsetup luksFormatSean Whitton2022-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Revert "add support for passing --cipher to cryptsetup luksFormat"Sean Whitton2022-07-23
| | | | | | This reverts commit 5e7547f8b732c5c3e7b222e61600d79c123774d4. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add support for passing --cipher to cryptsetup luksFormatSean Whitton2022-07-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:CONTAINS-INI-SETTINGS: fix inserting section's remaining keysSean Whitton2022-06-27
| | | | | | | | | | | When we insert the section's remaining keys they should appear before any blank lines, comments etc. that appear between sections. This undoes a change in generated output inadvertently introduced by 1a19be7ea65fbfa0b192b2bf18a735f230f16675, and also simplifies the code by eliminating redundant regexp matching: that's the job of CONFIG-FILE-MAP. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APT:PINNED: fix quotation in exampleSean Whitton2022-06-27
| | | | | Reported-by: David Bremner <david@tethera.net> Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* REBOOT:AT-END: add fallback schedulingSean Whitton2022-06-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add INSTALLER:WITH-CLEANLY-INSTALLED-ONCESean Whitton2022-06-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:OPEN-VOLUME-AND-CONTENTS: avoid using a special variableSean Whitton2022-06-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix FSTAB:HAS-ENTRIES-FOR-OPENED-VOLUMES for FAT32 filesystemsSean Whitton2022-06-24
| | | | | | | | The property should never have been calling SUBVOLUMES-OF-TYPE because opening volumes does not ever update the VOLUME-CONTENTS slot to contain OPENED-VOLUME values. The structure of the OPENED-VOLUMES connattr is that of a flat list. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* user.lisp: update copyright yearsSean Whitton2022-06-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add USER:GROUP-EXISTSDavid Bremner2022-06-24
| | | | | | | This is essentially a copy of HAS-ACCOUNT, with the equivalent of USER-EXISTS inlined. Signed-off-by: David Bremner <david@tethera.net>
* FILE:CONTAINS-INI-SETTINGS: fix extracting section namesSean Whitton2022-06-18
| | | | 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>