diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-10 12:53:35 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-10 12:53:35 -0700 |
commit | 35a02f2293935becbc20224e48995a35dbbbeebf (patch) | |
tree | 5c1c832e2b174014aa3500eee063391d700c856a /doc/introduction.rst | |
parent | 6b2372ab471ec08d5abcb5404986397789d5c690 (diff) | |
download | consfigurator-35a02f2293935becbc20224e48995a35dbbbeebf.tar.gz |
update introductory example to use some new properties
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'doc/introduction.rst')
-rw-r--r-- | doc/introduction.rst | 7 |
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 |