summaryrefslogtreecommitdiff
path: root/templates/conf.erb
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2014-03-12 16:26:32 -0400
committerGabriel Filion <gabster@lelutin.ca>2014-03-12 16:26:32 -0400
commit102de3b0e7c6e2f1ace419e028ed1c3920735d42 (patch)
treed9c47802173c796013d08c7577edd8abd954bed0 /templates/conf.erb
parent84fba22bad4d2d0e88352c999cabe4de2a42c023 (diff)
parentb06570a940a705988360553446daa8ea52e60f27 (diff)
Merge branch 'conf_define'
Diffstat (limited to 'templates/conf.erb')
-rw-r--r--templates/conf.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/conf.erb b/templates/conf.erb
new file mode 100644
index 0000000..c7e332a
--- /dev/null
+++ b/templates/conf.erb
@@ -0,0 +1,9 @@
+# THIS FILE IS MANAGED BY PUPPET
+[<%= @section -%>]
+<% @config.each do |key, value| -%>
+<% if value != '' -%>
+<%= key -%> = <%= value %>
+<% else -%>
+<%= key %>
+<% end -%>
+<% end %>