# File lib/foreman_maintain/feature.rb, line 11 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 30 def additional_features [] end
list of config files the feature uses
# File lib/foreman_maintain/feature.rb, line 35 def config_files [] end
# File lib/foreman_maintain/feature.rb, line 45 def config_files_exclude_for_online [] end
list of config files to be excluded from the list of config files. Can be used to exclude subdir from whole config directory
# File lib/foreman_maintain/feature.rb, line 41 def config_files_to_exclude [] end
# File lib/foreman_maintain/feature.rb, line 15 def inspect "#{self.class.metadata[:label]}<#{self.class.name}>" end
Override method with list 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:
# File lib/foreman_maintain/feature.rb, line 24 def services [] end