aboutsummaryrefslogtreecommitdiff
path: root/src/property
Commit message (Collapse)AuthorAge
...
* src/property/systemd.lisp: add idea about a user instance combinatorSean Whitton2022-04-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* basic systemd properties: &optional -> &key for user instance paramSean Whitton2022-04-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename to POSTGRES:{DATABASE-HAS-OWNER,USER-CAN-LOGIN}Sean Whitton2022-04-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SBUILD:STANDARD-DEBIAN-SCHROOT: rename param and &optional -> &keySean Whitton2022-04-14
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename LXC:USERNET-USABLE-BY -> LXC:USERNET-VETH-USABLE-BYSean Whitton2022-04-13
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add PUSH-HOSTATTR, don't use &rest in PUSH-HOSTATTRS & fix docstringSean Whitton2022-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename basic propapp accessorsSean Whitton2022-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace uses of COLLAPSE-TYPES & drop the functionSean Whitton2022-04-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename RUN-FAILED accessorsSean Whitton2022-04-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename READFILE, WRITEFILE, corresponding generics and some wrappersSean Whitton2022-04-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename SYSTEMD-{-USER -> USER-INSTANCE-ARGS} & stop using &restSean Whitton2022-04-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SWAP:HAS-SWAP-FILE: use &key not &optional for LOCATION parameterSean Whitton2022-04-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* src/property/file.lisp: update copyright yearsSean Whitton2022-04-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace some Scheme-style namesSean Whitton2022-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:HAS-CONTENT: accept NIL content & check type of list elementsSean Whitton2022-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename ETC-DEFAULT:SET -> ETC-DEFAULT:CONTAINSSean Whitton2022-04-01
| | | | | | For consistency with FILE:CONTAINS-* properties. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename *STANDARD-LINUX-VFS* -> *LINUX-BASIC-VFS*Sean Whitton2022-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FSTAB & CRYPTTAB: prepend HAS- to names of exported propertiesSean Whitton2022-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename PASSWD-ENTRY -> PASSWD-FIELDSean Whitton2022-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename DEFINE-PRINT-OBJECT-FOR-STRUCTLIKE & REINIT-STRUCTLIKESean Whitton2022-03-12
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace ESCAPE-SH-TOKEN and ESCAPE-SH-COMMAND with new SH-ESCAPESean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop SYSTEM and add simpler code in a FLET where it's neededSean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace uses of CALL-WITH-OS & drop the functionSean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename DISK:ALL-VGS -> DISK:ALL-LVM-VOLUME-GROUPS and use MEMSTR=Sean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* unexport DISK:CACHES-CLEANED for nowSean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* UTIL.LINUX-NAMESPACE:GET-IDS-OFFSET: flip order of the two argumentsSean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add "local" and "remote" to the names of some exported symbolsSean Whitton2022-03-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename PLIST-TO-CMD-ARGS -> PLIST->LONG-OPTIONSSean Whitton2022-03-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename MEMSTRING= -> MEMSTR=Sean Whitton2022-03-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FIREWALLD:ZONE-HAS-SOURCESean Whitton2022-02-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* GRUB binaries on OS:DEBIANLIKE: specify for arm64-efi targetSean Whitton2022-02-04
| | | | 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>
* GNUPG:SECRET-KEY-IMPORTED :DESC: refer to secret not public keysSean Whitton2022-01-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* in examples, use fewer of my personal hostnames & domainsSean Whitton2021-12-27
| | | | | | | Additionally, in conventions.rst, fix an example of the :SUDO connection type to use the correct hostname for looking up the password. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* src/property/file.lisp: unless mode supplied, create missing dirsSean Whitton2021-12-27
| | | | | | | | | | | | | | | | | This means you can apply properties like FILE:HAS-CONTENT without also having to explicitly apply FILE:{CONTAINING-,}DIRECTORY-EXISTS or similar. If missing intermediate directories need to have particular modes or ownership, it is easy to apply properties to ensure those directories exist with those attributes before applying the property which will create the file. Then there are no missing directories for the latter property to create. In the case where a mode for the file is supplied, leave it to the caller to create the directories, as a safety measure (see 487a473390). In the future we might create missing intermediate directories based on a supplied mode, such as creating them 0750 when the supplied mode is 0640. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:{HOST-,}SECRET-UPLOADED: don't create missing intermediate dirsSean Whitton2021-12-27
| | | | | | | | As we are uploading secrets, perhaps some of those directories need to be created with permissions other than 0755, so as a safety measure, leave it to the caller to create them. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APACHE:HTTPS-VHOST: put user's config before http->https redirectSean Whitton2021-12-22
| | | | | | This allows selectively overriding that redirect. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APT:USES-LOCAL-CACHER: use an IP address, not a name, for localhostSean Whitton2021-12-18
| | | | | | | | | | | The --variant=buildd argument to debootstrap(8), used by default by SBUILD:BUILT, produces a chroot without any /etc/hosts file. Thus processes in the chroot, including apt(8), may not be able to resolve "localhost". This is relevant to the case of APT:USES-LOCAL-CACHER outside the chroot and APT:USES-PARENT-PROXY within, as suggested by SBUILD:BUILT's docstring. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename combinator UNAPPLY->UNAPPLIED and add new UNAPPLY macroSean Whitton2021-12-13
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add POSTFIX:DAEMON-SOCKET-DIRECTORYSean Whitton2021-12-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CRON:RUNS-CONSFIGURATOR: make unapplicableSean Whitton2021-12-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CRON:SYSTEM-JOB: make unapplicable & use FILE:EXISTS-WITH-CONTENTSean Whitton2021-12-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APACHE:HTTPS-VHOST: note that doesn't currently install renewal hookSean Whitton2021-12-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add LETS-ENCRYPT:CERTIFICATE-OBTAINED-STANDALONESean Whitton2021-12-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APACHE:HTTPS-VHOST http->https: use %{SERVER_NAME} & HTTP status 301Sean Whitton2021-12-02
| | | | | | The use of %{SERVER_NAME} makes the configuration line a constant value. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APACHE:HTTPS-VHOST: narrow the scope of .well-known rewrite ruleSean Whitton2021-12-02
| | | | | | | The new rule is sufficient for the Let's Encrypt challenge to succeed, and has the advantage of avoiding interference with other subpaths of .well-known/. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* LXC:LXC-LS: always pass -1 command line argumentSean Whitton2021-11-28
| | | | | | | | With most connection types stdout is not a tty and so we get one entry per line anyway. However, unless we explicitly pass -1, lxc-ls(1) can add unwanted trailing whitespace to these lines. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:{DATA,SECRET}-UPLOADED: add descriptionsSean Whitton2021-11-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* LXC:USER-CONTAINER-FOR docstring: fix typoSean Whitton2021-11-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: fix type of :REMOTE-HOME connattrSean Whitton2021-11-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>