Sha256: 4a5ea5d4ecf66b4e00bb067bbe926e77ab703ff0e4b289cea40ceb3fa07a8b3e
Contents?: true
Size: 373 Bytes
Versions: 8
Compression:
Stored size: 373 Bytes
Contents
module Bootdisk::HostExt extend ActiveSupport::Concerns def bootdisk_template ConfigTemplate.find_by_name(Setting[:bootdisk_host_template]) || raise(::Foreman::Exception.new(N_('Unable to find template specified by %s setting'), 'bootdisk_host_template')) end def bootdisk_template_render @host = self pxe_render(bootdisk_template.template) end end
Version data entries
8 entries across 8 versions & 1 rubygems