diff options
Diffstat (limited to 'templates/xorg.conf.epp')
-rw-r--r-- | templates/xorg.conf.epp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/xorg.conf.epp b/templates/xorg.conf.epp new file mode 100644 index 0000000..4ef4e6c --- /dev/null +++ b/templates/xorg.conf.epp @@ -0,0 +1,17 @@ +<%- | + String $section, + Optional[String] $identifier, + Array[Tuple[String, Any]] $options, + Hash[String, Any] $entries, +| -%> +Section "<%= $section %>" + <%- if $identifier { -%> + Identifier "<%= $identifier %>" + <%- } -%> + <%- $options.each |$tup| { -%> + Option "<%= $tup[0] %>" "<%= $tup[1] %>" + <%- } -%> + <%- $entries.each |$k, $v| { -%> + <%= $k %> "<%= $v %>" + <%- } -%> +EndSection |