Fixes clustering to use template instead of exec
[integration/packaging/puppet-opendaylight.git] / templates / modules.conf.erb
1 modules = [
2         <% scope.lookupvar('opendaylight::ha_db_modules').each do |mod, urn| -%>
3         <% if mod != "default" -%>
4         {
5                 name = "<%= mod %>"
6                 namespace = "<%= urn %>"
7                 shard-strategy = "module"
8         },
9         <% end -%>
10         <% end -%>
11 ]