# File lib/foreman_maintain/feature.rb, line 10 def self.inspect "Feature Class #{metadata[:label]}<#{name}>" end
Override to generate additional feature instances that can't be autodetected directly
# File lib/foreman_maintain/feature.rb, line 29 def additional_features [] end
list of config files the feature uses
# File lib/foreman_maintain/feature.rb, line 34 def config_files [] end
# File lib/foreman_maintain/feature.rb, line 14 def inspect "#{self.class.metadata[:label]}<#{self.class.name}>" end
Override method with hash of applicable services for feature. Services have a number for priority in order to ensure they are started and stopped in the correct order. example: { :foo_service => 10, :bar_service => 20 }
# File lib/foreman_maintain/feature.rb, line 23 def services {} end