Revision 630061d2
Added by Michael Moll almost 6 years ago
app/models/setting/provisioning.rb | ||
---|---|---|
|
||
def self.default_global_templates
|
||
map_pxe_kind do |pxe_kind, templates|
|
||
self.set("global_#{pxe_kind}", N_("Global default %s template. This template gets deployed to all configured TFTP servers. It will not be affected by upgrades.") % pxe_kind, ProvisioningTemplate.global_default_name(pxe_kind), N_("Global default %s template") % pxe_kind, nil, { :collection => templates })
|
||
self.set("global_#{pxe_kind}", N_("Global default %s template. This template gets deployed to all configured TFTP servers. It will not be affected by upgrades.") % pxe_kind, ProvisioningTemplate.global_default_name(pxe_kind), N_("Global default %s template") % pxe_kind, nil, { :collection => templates })
|
||
end
|
||
end
|
||
|
Also available in: Unified diff
Fixes #19775 - Fix Layout/ExtraSpacing cop