From d187e5a2c83b07a2214f7890191d9bdb0699b3fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 14 Dec 2021 00:58:22 +0100 Subject: Migrate stuff from ansible. --- templates/automount.epp | 11 +++++++++++ templates/mount.epp | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 templates/automount.epp create mode 100644 templates/mount.epp (limited to 'templates') 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 %> -- cgit v1.2.3