aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/deployment.lisp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/deployment.lisp b/src/deployment.lisp
index 221b89b..ee006fb 100644
--- a/src/deployment.lisp
+++ b/src/deployment.lisp
@@ -108,7 +108,9 @@ The evaluation of ADDITIONAL-PROPERTIES to produce a property application
specification may retrieve existing hostattrs, but should not set any new
ones (not to be confused with how the :HOSTATTRS subroutines of properties in
ADDITIONAL-PROPERTIES may set additional hostattrs)."
- (once-only (host)
+ (once-only ((host (if (stringp host)
+ `(make-host :hostattrs (list :hostname (list ,host)))
+ host)))
`(deploy* ',connections
,host
(let ((*host* (shallow-copy-host ,host)))
@@ -137,7 +139,9 @@ The evaluation of PROPERTIES to produce a property application specification
may retrieve existing hostattrs, but should not set any new ones (not to be
confused with how the :HOSTATTRS subroutines of properties in PROPERTIES may
set additional hostattrs)."
- (once-only (host)
+ (once-only ((host (if (stringp host)
+ `(make-host :hostattrs (list :hostname (list ,host)))
+ host)))
`(deploy-these* ',connections
,host
(let ((*host* (shallow-copy-host ,host)))