Project

General

Profile

« Previous | Next » 

Revision 5131edbf

Added by Timo Goebel over 8 years ago

fixes #13494 - change puppet proxy for several hosts at once

This commit adds the possibility to select multiple
hosts and change the puppet proxy for them.

View differences:

app/helpers/hosts_helper.rb
actions << [_('Assign Organization'), select_multiple_organization_hosts_path] if SETTINGS[:organizations_enabled]
actions << [_('Assign Location'), select_multiple_location_hosts_path] if SETTINGS[:locations_enabled]
actions << [_('Change Owner'), select_multiple_owner_hosts_path] if SETTINGS[:login]
actions << [_('Change Puppet Master'), select_multiple_puppet_proxy_hosts_path] if SmartProxy.unscoped.with_features("Puppet").count > 0
actions
end

Also available in: Unified diff