Skip to content

Commit

Permalink
Add multidatasource and fix location datasource name
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Jan 18, 2024
1 parent ac6e948 commit 2080b47
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions resources/templates/default/flow_rbdruid_config.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<%= x %>:
traffics:
datasource: 'rb_flow'
#multidatasource: #TODO
multidatasource: '<%= ((node["redborder"]["manager"]["force_single_space"].nil? or node["redborder"]["manager"]["force_single_space"]=="1" or node["redborder"]["manager"]["force_single_space"]==true )) ? "true" : false %>'
state:
datasource: 'rb_state'
#multidatasource: #TODO
multidatasource: '<%= ((node["redborder"]["manager"]["force_single_space"].nil? or node["redborder"]["manager"]["force_single_space"]=="1" or node["redborder"]["manager"]["force_single_space"]==true )) ? "true" : false %>'
<% end %>
2 changes: 1 addition & 1 deletion resources/templates/default/iot_rbdruid_config.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<%= x %>:
iot:
datasource: 'rb_iot'
#multidatasource: #TODO
multidatasource: '<%= ((node["redborder"]["manager"]["force_single_space"].nil? or node["redborder"]["manager"]["force_single_space"]=="1" or node["redborder"]["manager"]["force_single_space"]==true )) ? "true" : false %>'
<% end %>
2 changes: 1 addition & 1 deletion resources/templates/default/ips_rbdruid_config.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<%= x %>:
events:
datasource: 'rb_event'
#multidatasource: #TODO
multidatasource: '<%= ((node["redborder"]["manager"]["force_single_space"].nil? or node["redborder"]["manager"]["force_single_space"]=="1" or node["redborder"]["manager"]["force_single_space"]==true )) ? "true" : false %>'
<% end %>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% [ "production", "development", "test" ].each do |x| %>
<%= x %>:
location:
datasource: 'rb_loc_post'
datasource: 'rb_location'
#multidatasource: #TODO
<% end %>
2 changes: 1 addition & 1 deletion resources/templates/default/monitor_rbdruid_config.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<%= x %>:
monitor:
datasource: 'rb_monitor'
#multidatasource: #TODO
multidatasource: '<%= ((node["redborder"]["manager"]["force_single_space"].nil? or node["redborder"]["manager"]["force_single_space"]=="1" or node["redborder"]["manager"]["force_single_space"]==true )) ? "true" : false %>'
<% end %>

0 comments on commit 2080b47

Please sign in to comment.