diff options
author | David Bremner <david@tethera.net> | 2021-03-13 13:08:44 -0400 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-13 10:12:32 -0700 |
commit | c7eeb7073316b89188a640f403a30e705e16040d (patch) | |
tree | 180b5007af80dbe9f89bff7c677b1028e35b5580 /src/connection.lisp | |
parent | 156a8196d754262b3c7e43a1c3f0073fed14a722 (diff) | |
download | consfigurator-c7eeb7073316b89188a640f403a30e705e16040d.tar.gz |
add slot for remote-uid to connection class
Intended to cache the result of shelling out to figure out the
effective uid.
Signed-off-by: David Bremner <david@tethera.net>
Diffstat (limited to 'src/connection.lisp')
-rw-r--r-- | src/connection.lisp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/connection.lisp b/src/connection.lisp index f30fbd4..2047b4a 100644 --- a/src/connection.lisp +++ b/src/connection.lisp @@ -66,7 +66,11 @@ For an example of usage, see the :SUDO connection type.")) (cached-data :initform nil :documentation - "Items of prerequisite data known to be cached on the remote side."))) + "Items of prerequisite data known to be cached on the remote side.") + (remote-uid + :initform nil + :documentation + "Effective user-id of the remote (deploying) user"))) (defclass lisp-connection (connection) ()) |