Bug #2538 ยป hostgroup_rootpass.patch
app/models/hostgroup.rb 2013-05-21 17:54:18.000000000 -0700 | ||
---|---|---|
end
|
||
def diskLayout
|
||
ptable.layout
|
||
ptable.layout.gsub("\r","")
|
||
end
|
||
def classes
|
||
... | ... | |
# no need to store anything in the db if the password is our default
|
||
def root_pass
|
||
read_attribute(:root_pass) || nested_root_pw
|
||
read_attribute(:root_pass) || nested_root_pw || Setting[:root_pass]
|
||
end
|
||
private
|