summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-02 03:16:44 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-02 03:16:44 +0100
commitf31d626bff837eb88c0e4a9d5d712c9206eb1c05 (patch)
tree941f032581968eddd4d1799b9481cef0c4ef424d
parentNspawn with a bind mount. (diff)
downloadnspawn-f31d626bff837eb88c0e4a9d5d712c9206eb1c05.tar.gz
nspawn-f31d626bff837eb88c0e4a9d5d712c9206eb1c05.tar.xz
Move paths.
-rw-r--r--manifests/machine.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/machine.pp b/manifests/machine.pp
index 1c688f6..a16a82c 100644
--- a/manifests/machine.pp
+++ b/manifests/machine.pp
@@ -7,6 +7,10 @@ define nspawn::machine (
require ::nspawn::setup
+ file { "/var/lib/machines/${machine}/puppet":
+ ensure => directory,
+ }
+
file { "/etc/systemd/nspawn/${machine}.nspawn":
content => @("EOF")
[Exec]