summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-23 19:18:38 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-09 18:05:08 +0100
commit89061f09bde945a76aafcb9ca76bdf8e8d987b9a (patch)
tree561d5cb194e9c742e5458ffc4b2e16470f2bda73
parentMove mounts to own profile. (diff)
downloadprofiles-89061f09bde945a76aafcb9ca76bdf8e8d987b9a.tar.gz
profiles-89061f09bde945a76aafcb9ca76bdf8e8d987b9a.tar.xz
Require mountpoint.
-rw-r--r--manifests/mounts.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/mounts.pp b/manifests/mounts.pp
index 94696bb..e849531 100644
--- a/manifests/mounts.pp
+++ b/manifests/mounts.pp
@@ -1,8 +1,14 @@
class profiles::mounts {
+
+ file { '/usr/net':
+ ensure => directory,
+ }
+
systemd_mount { '/usr/net':
what => 'elrond:/files',
where => '/usr/net',
wantedBy => 'remote-fs.target',
automount => true,
+ require => File['/usr/net'],
}
}