aboutsummaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-01 13:00:45 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-01 14:47:27 -0700
commit27d73167ae319284d83d6c48baf23e834e8dfe0c (patch)
treeeb5a1496e50ba3a34d3f808f695c6b5124c7fa20 /README.rst
parent9b67a83b16c200ebea3dca8984867f2c92ceda92 (diff)
downloadconsfigurator-27d73167ae319284d83d6c48baf23e834e8dfe0c.tar.gz
replace DEFHOSTDEPLOY
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 1b4dac5..9baefa2 100644
--- a/README.rst
+++ b/README.rst
@@ -105,13 +105,11 @@ Try it out / quick start
:pgp :location #P"/path/to/com.example.consfig.gpg")
(defhost athena.example.com
+ (:deploy (:ssh (:sudo :as "spwhitton@athena.example.com") :debian-sbcl))
"Web and file server."
(file:has-content "/etc/foo" '("these" "are" "my" "lines"))
(file:contains-lines "/etc/some.conf" '("FOO=bar")))
- (defhostdeploy (:ssh (:sudo :as "spwhitton@athena.example.com") :debian-sbcl)
- athena.example.com)
-
Here, "spwhitton" is my username on athena; we have to tell Consfigurator
what user it will be when it tries to sudo, so it knows whose password it
needs. If you have passwordless sudo access configured, you can skip the