Revision 1d1e4dab
Added by Ewoud Kohl van Wijngaarden about 6 years ago
app/controllers/hosts_controller.rb | ||
---|---|---|
before_action :find_resource, :only => [:show, :clone, :edit, :update, :destroy, :puppetrun, :review_before_build,
|
||
:setBuild, :cancelBuild, :power, :get_power_state, :overview, :bmc, :vm,
|
||
:runtime, :resources, :nics, :ipmi_boot, :console,
|
||
:toggle_manage, :pxe_config, :storeconfig_klasses, :disassociate]
|
||
:toggle_manage, :pxe_config, :disassociate]
|
||
|
||
before_action :taxonomy_scope, :only => [:new, :edit] + AJAX_REQUESTS
|
||
before_action :set_host_type, :only => [:update]
|
||
... | ... | |
redirect_to(:controller => "unattended", :action => 'host_template', :kind => "pxe_#{@host.operatingsystem.pxe_type}_config", :host_id => @host) if @host
|
||
end
|
||
|
||
def storeconfig_klasses
|
||
end
|
||
|
||
# multiple host selection methods
|
||
|
||
def multiple_parameters
|
||
... | ... | |
|
||
define_action_permission [
|
||
'clone', 'externalNodes', 'overview', 'bmc', 'vm', 'runtime', 'resources', 'templates', 'nics',
|
||
'pxe_config', 'storeconfig_klasses', 'active', 'errors', 'out_of_sync', 'pending', 'disabled', 'get_power_state', 'preview_host_collection'
|
||
'pxe_config', 'active', 'errors', 'out_of_sync', 'pending', 'disabled', 'get_power_state', 'preview_host_collection'
|
||
], :view
|
||
define_action_permission [
|
||
'setBuild', 'cancelBuild', 'multiple_build', 'submit_multiple_build', 'review_before_build',
|
Also available in: Unified diff
Fixes #23646 - Remove storeconfig leftovers
In Foreman 1.1 sharing the database with Puppet's storeconfigs was
deprecated. We've given users sufficient time to migrate away from it
and possibly broke it along the way. I haven't checked.