diff --git a/db/seeds.d/110-smart_proxy_features.rb b/db/seeds.d/110-smart_proxy_features.rb index fb112bd9002..2e3bfcd7bb5 100644 --- a/db/seeds.d/110-smart_proxy_features.rb +++ b/db/seeds.d/110-smart_proxy_features.rb @@ -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