summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-14 00:58:22 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-14 02:16:16 +0100
commitd187e5a2c83b07a2214f7890191d9bdb0699b3fb (patch)
treeb2a05526123ddfa38d28f51a3ce970079438206e /templates
downloadsystemd_mount-d187e5a2c83b07a2214f7890191d9bdb0699b3fb.tar.gz
systemd_mount-d187e5a2c83b07a2214f7890191d9bdb0699b3fb.tar.xz
Migrate stuff from ansible.
Diffstat (limited to 'templates')
-rw-r--r--templates/automount.epp11
-rw-r--r--templates/mount.epp13
2 files changed, 24 insertions, 0 deletions
diff --git a/templates/automount.epp b/templates/automount.epp
new file mode 100644
index 0000000..c65f2ae
--- /dev/null
+++ b/templates/automount.epp
@@ -0,0 +1,11 @@
+<%- | String $where,
+ String $wantedBy,
+| -%>
+
+[Unit]
+
+[Install]
+<%= $wantedBy %>
+
+[Automount]
+Where=<%= $where %>
diff --git a/templates/mount.epp b/templates/mount.epp
new file mode 100644
index 0000000..54d191a
--- /dev/null
+++ b/templates/mount.epp
@@ -0,0 +1,13 @@
+<%- | String $where,
+ String $what,
+ String $wantedby,
+| -%>
+
+[Unit]
+
+[Install]
+<%= $wantedby %>
+
+[Mount]
+Where=<%= $where %>
+What=<%= $what %>