Project

General

Profile

« Previous | Next » 

Revision bb8da765

Added by Romain Vrignaud over 10 years ago

fixes #3658 - support smart proxy's chef proxy feature

View differences:

db/seeds.rb
end
# Proxy features
[ "TFTP", "DNS", "DHCP", "Puppet", "Puppet CA", "BMC" ].each do |input|
[ "TFTP", "DNS", "DHCP", "Puppet", "Puppet CA", "BMC", "Chef Proxy" ].each do |input|
f = Feature.find_or_create_by_name(input)
raise "Unable to create proxy feature: #{format_errors f}" if f.nil? || f.errors.any?
end

Also available in: Unified diff