diff options
Diffstat (limited to 'modules/base_installation/templates/puppet/puppet.conf.erb')
-rw-r--r-- | modules/base_installation/templates/puppet/puppet.conf.erb | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/base_installation/templates/puppet/puppet.conf.erb b/modules/base_installation/templates/puppet/puppet.conf.erb index 03b33bb..da39468 100644 --- a/modules/base_installation/templates/puppet/puppet.conf.erb +++ b/modules/base_installation/templates/puppet/puppet.conf.erb | |||
@@ -1,9 +1,14 @@ | |||
1 | [main] | 1 | [main] |
2 | <% if @xmpp.count > 0 %> | 2 | <% |
3 | reports = store,xmpp | 3 | reports = ["store"] |
4 | <% else %> | 4 | if @xmpp.count > 0 |
5 | reports = store | 5 | reports << "xmpp" |
6 | <% end %> | 6 | end |
7 | if @slack.count > 0 | ||
8 | reports << "slack" | ||
9 | end | ||
10 | %> | ||
11 | reports = <%= reports.join(",") %> | ||
7 | 12 | ||
8 | basemodulepath = <%= @puppet_code_path %>/modules:<%= @puppet_code_path %>/external_modules | 13 | basemodulepath = <%= @puppet_code_path %>/modules:<%= @puppet_code_path %>/external_modules |
9 | 14 | ||