aboutsummaryrefslogtreecommitdiff
path: root/src/connection.lisp
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-03-13 13:08:44 -0400
committerSean Whitton <spwhitton@spwhitton.name>2021-03-13 10:12:32 -0700
commitc7eeb7073316b89188a640f403a30e705e16040d (patch)
tree180b5007af80dbe9f89bff7c677b1028e35b5580 /src/connection.lisp
parent156a8196d754262b3c7e43a1c3f0073fed14a722 (diff)
downloadconsfigurator-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.lisp6
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) ())