aboutsummaryrefslogtreecommitdiff
path: root/src/deployment.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-24 13:52:09 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-24 13:53:51 -0700
commit0757caa94c359a475ab39ff35a7e1cf92bda5cdc (patch)
treeb94903a367927d6ab1d23def055acceedb2ad387 /src/deployment.lisp
parentee3ba287cc5faafbd35febac2fa9875eee067a49 (diff)
downloadconsfigurator-0757caa94c359a475ab39ff35a7e1cf92bda5cdc.tar.gz
move copying to the inside of {union,replace}-propspec-into-host
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/deployment.lisp')
-rw-r--r--src/deployment.lisp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/deployment.lisp b/src/deployment.lisp
index 45b5c07..03dfe73 100644
--- a/src/deployment.lisp
+++ b/src/deployment.lisp
@@ -62,8 +62,7 @@ DEFDEPLOY-THESE, etc., rather than calling this function directly. However,
code which programmatically constructs deployments will need to call this."
(%consfigure (preprocess-connections connections)
(if additional-properties
- (%union-propspec-into-host (shallow-copy-host host)
- additional-properties)
+ (union-propspec-into-host host additional-properties)
host)))
(defun deploy-these* (connections host properties)
@@ -75,8 +74,7 @@ by PROPERTIES can override the host's usual static informational attributes,
in the same way that later entries in the list of properties specified in
DEFHOST forms can override earlier entries (see DEFHOST's docstring)."
(%consfigure (preprocess-connections connections)
- (%replace-propspec-into-host
- (shallow-copy-host host) properties)))
+ (replace-propspec-into-host host properties)))
(defun continue-deploy* (remaining-connections)
"Complete the work of an enclosing call to DEPLOY* or DEPLOY-THESE*.
@@ -173,8 +171,7 @@ Also useful to set up VMs, chroots, disk images etc. on localhost."
(list (preprocess-connections connections)
(preprocess-host
(if additional-properties
- (%union-propspec-into-host (shallow-copy-host host)
- additional-properties)
+ (union-propspec-into-host host additional-properties)
host))))
(:hostattrs
(declare (ignore connections additional-properties))
@@ -189,8 +186,7 @@ PROPERTIES, and not the host's usual properties, unless they also appear in
PROPERTIES, like DEPLOY-THESE."
(:preprocess
(list (preprocess-connections connections)
- (preprocess-host
- (%replace-propspec-into-host (shallow-copy-host host) properties))))
+ (preprocess-host (replace-propspec-into-host host properties))))
(:hostattrs
(declare (ignore connections properties))
(%propagate-hostattrs host))