Revision 0f6ea5a2
Added by Ohad Levy almost 12 years ago
- ID 0f6ea5a23bd075f9539782398370b2ff411eb85f
app/models/operatingsystem.rb | ||
---|---|---|
'Solaris' => %r{Solaris}i }
|
||
|
||
class Jail < Safemode::Jail
|
||
allow :name, :media_url, :major, :minor, :family, :to_s, :epel, :==, :release_name, :kernel, :initrd, :pxe_type
|
||
allow :name, :media_url, :major, :minor, :family, :to_s, :epel, :==, :release_name, :kernel, :initrd, :pxe_type, :medium_uri
|
||
end
|
||
|
||
# As Rails loads an object it casts it to the class in the 'type' field. If we ensure that the type and
|
Also available in: Unified diff
fixes #1669 - epel is now a snippet.
This adds another method to install the epel repo, as a snippet,
allowing users to customly change the url, in case that it doesn't fit
their needs or if the url changes again.
to use, simple use:
<%= snippet "epel" %>