diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-02 12:48:47 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-02 12:48:47 -0700 |
commit | cbe56ebc323afa15d5aa2e1f918e01d660c6f322 (patch) | |
tree | eea3081b1dee33c70297517619c72b4780736c19 /src/deployment.lisp | |
parent | 2b7fbca1d47ee1a5df2a44eda597852391f8c5c7 (diff) | |
download | consfigurator-cbe56ebc323afa15d5aa2e1f918e01d660c6f322.tar.gz |
DEFAULT-DEPLOYMENT: leave unbound when not supplied
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/deployment.lisp')
-rw-r--r-- | src/deployment.lisp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/deployment.lisp b/src/deployment.lisp index 3a3d404..09fecd0 100644 --- a/src/deployment.lisp +++ b/src/deployment.lisp @@ -199,17 +199,11 @@ You can then eval (NAME) to execute this deployment." (defun hostdeploy* (host &optional additional-properties) "Like DEPLOY*, but use the host's default deployment." - (deploy* (or (host-deployment host) - (simple-program-error "Host has no default deployment")) - host - additional-properties)) + (deploy* (host-deployment host) host additional-properties)) (defun hostdeploy-these* (host properties) "Like DEPLOY-THESE*, but use the host's default deployment." - (deploy-these* (or (host-deployment host) - (simple-program-error "Host has no default deployment")) - host - properties)) + (deploy-these* (host-deployment host) host properties)) (defmacro hostdeploy (host &body additional-properties) "Like DEPLOY, but use the host's default deployment." |