diff options
author | David Bremner <david@tethera.net> | 2022-01-30 12:44:26 -0400 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-02-02 13:43:53 -0700 |
commit | 1ccfc5894a8b23375315d52f460b9f045e896a7a (patch) | |
tree | c5338c2e132e4ffa75b97bcf72892a082c4b1b18 /src/package.lisp | |
parent | f72fdc66e3ce29b7306e9da3803a2e226259fc0f (diff) | |
download | consfigurator-1ccfc5894a8b23375315d52f460b9f045e896a7a.tar.gz |
Add some properties to install and configure Postgresql
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>
Diffstat (limited to 'src/package.lisp')
-rw-r--r-- | src/package.lisp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/package.lisp b/src/package.lisp index d83a2c5..08bde22 100644 --- a/src/package.lisp +++ b/src/package.lisp @@ -940,6 +940,18 @@ #:lxc-ls)) + (package :consfigurator.property.postgres + (:local-nicknames (#:apt #:consfigurator.property.apt) + (#:os #:consfigurator.property.os) + (#:cmd #:consfigurator.property.cmd)) + (:export #:installed + #:superuser-is + #:has-role + #:has-database + #:has-owner + #:has-group + #:can-login)) + (package :consfigurator.connection.local (:export #:local-connection)) |