Revision 6807d423
Added by Stephen Benjamin about 10 years ago
app/models/hostgroup.rb | ||
---|---|---|
|
||
class Jail < Safemode::Jail
|
||
allow :name, :diskLayout, :puppetmaster, :operatingsystem, :architecture,
|
||
:environment, :ptable, :url_for_boot, :params, :puppetproxy
|
||
:environment, :ptable, :url_for_boot, :params, :puppetproxy, :param_true?,
|
||
:param_false?
|
||
end
|
||
|
||
#TODO: add a method that returns the valid os for a hostgroup
|
Also available in: Unified diff
fixes #5444 - add param_false? host method and allow in templates