From 71e8cb8073ad3407effe3dd1252c3ab9be7722ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 19 Apr 2022 16:01:44 +0200 Subject: Allow options to system_mount. --- templates/mount.epp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates/mount.epp') diff --git a/templates/mount.epp b/templates/mount.epp index 54d191a..af76c85 100644 --- a/templates/mount.epp +++ b/templates/mount.epp @@ -1,6 +1,7 @@ <%- | String $where, String $what, String $wantedby, + Array[String] $options, | -%> [Unit] @@ -11,3 +12,4 @@ [Mount] Where=<%= $where %> What=<%= $what %> +<% if $options != [] { %>Options=<%= $options.join(',') %><% } %> -- cgit v1.2.3