Skip to content

Commit

Permalink
Fixes #30917 - Add Smart proxy feature 'Registration' (#8024)
Browse files Browse the repository at this point in the history
  • Loading branch information
stejskalleos authored Oct 12, 2020
1 parent a9ed12b commit 31b0d19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion db/seeds.d/110-smart_proxy_features.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Proxy features
["TFTP", "DNS", "DHCP", "Puppet", "Puppet CA", "BMC", "Realm", "Facts", "Logs", "HTTPBoot", "External IPAM"].each do |input|
proxy_features = ["TFTP", "DNS", "DHCP", "Puppet", "Puppet CA", "BMC", "Realm", "Facts", "Logs", "HTTPBoot", "External IPAM",
"Registration"]

proxy_features.each do |input|
f = Feature.where(:name => input).first_or_create
raise "Unable to create proxy feature: #{format_errors f}" if f.nil? || f.errors.any?
end

0 comments on commit 31b0d19

Please sign in to comment.