summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-02 03:08:29 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-02 03:08:29 +0100
commit9d2bff27fd89842a67e19b8f13c1242bb1c1fdad (patch)
tree66c7c58d3fd354e23d6153242caaa8d8d964dc4c
parentImprove node classifier. (diff)
downloadwebdav_server-9d2bff27fd89842a67e19b8f13c1242bb1c1fdad.tar.gz
webdav_server-9d2bff27fd89842a67e19b8f13c1242bb1c1fdad.tar.xz
Nspawn with a bind mount.
-rw-r--r--modules/nspawn/manifests/machine.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/nspawn/manifests/machine.pp b/modules/nspawn/manifests/machine.pp
index d747069..1c688f6 100644
--- a/modules/nspawn/manifests/machine.pp
+++ b/modules/nspawn/manifests/machine.pp
@@ -15,6 +15,11 @@ define nspawn::machine (
# /usr/lib/systemd/resolv.conf
ResolvConf=copy-static
+ [Files]
+ # TODO This should only be mounted on puppet servers, in case it
+ # contains secrets
+ BindReadOnly=/usr/local/puppet:/puppet
+
[Network]
Bridge=br0
| EOF