Project

General

Profile

« Previous | Next » 

Revision 052dc65f

Added by Ohad Levy over 12 years ago

  • ID 052dc65fc43ffd3801d13926e240a57b0ecdda5d

refs #1179 - hostname name in enc should include its parents too

View differences:

app/models/host.rb
# maybe these should be moved to the common parameters, leaving them in for now
param["puppetmaster"] = puppetmaster.to_s
param["domainname"] = domain.fullname unless domain.nil? or domain.fullname.nil?
param["hostgroup"] = hostgroup.name unless hostgroup.nil?
param["hostgroup"] = hostgroup.to_label unless hostgroup.nil?
param["root_pw"] = root_pass if SETTINGS[:unattended]
param["foreman_env"] = environment.to_s unless environment.nil? or environment.name.nil?
if SETTINGS[:login]

Also available in: Unified diff