Project

General

Profile

Bug #2538 ยป hostgroup_rootpass.patch

Chris Barbour, 05/21/2013 08:59 PM

View differences:

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
    (1-1/1)