aboutsummaryrefslogtreecommitdiff
path: root/doc/introduction.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/introduction.rst')
-rw-r--r--doc/introduction.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/introduction.rst b/doc/introduction.rst
index 9652e98..f08b677 100644
--- a/doc/introduction.rst
+++ b/doc/introduction.rst
@@ -45,12 +45,15 @@ Try it out / quick start
(defhost athena.example.com
(:deploy (:ssh (:sudo :as "spwhitton@athena.example.com") :debian-sbcl))
"Web and file server."
+ (os:debian-stable "buster" :amd64)
+ (apt:standard-sources.list)
+ (apt:installed "apache2")
(file:has-content "/etc/foo"
#?{Here is my file content.
You can use ${my-substitution} thanks to CL-INTERPOL.
And it's multiline.})
- (file:has-content-lines "/etc/bar" '("these" "are" "my" "lines"))
- (file:contains-lines "/etc/some.conf" '("FOO=bar")))
+ (file:has-content "/etc/bar" '("or" "specify" "a" "list" "of" "lines""))
+ (file:contains-lines "/etc/some.conf" '("FOO=bar"))) ; preserve rest of file contents
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