Revision aa48b69c
Added by Marek Hulán over 9 years ago
app/models/host/base.rb | ||
---|---|---|
parser = FactParser.parser_for(type).new(facts)
|
||
|
||
set_non_empty_values(parser, attributes_to_import_from_facts)
|
||
set_interfaces(parser)
|
||
set_interfaces(parser) if parser.parse_interfaces?
|
||
|
||
parser
|
||
end
|
app/models/setting/provisioning.rb | ||
---|---|---|
self.set('ssl_ca_file', N_( "SSL CA file that Foreman will use to communicate with its proxies"), ssl_ca_file),
|
||
self.set('ssl_priv_key', N_("SSL Private Key file that Foreman will use to communicate with its proxies"), ssl_priv_key),
|
||
self.set('manage_puppetca', N_("Foreman will automate certificate signing upon provision of new host"), true),
|
||
self.set('ignore_puppet_facts_for_provisioning', N_("Stop updating IP address and MAC values from Puppet facts"), false),
|
||
self.set('ignore_puppet_facts_for_provisioning', N_("Stop updating IP address and MAC values from Puppet facts (affects all interfaces)"), false),
|
||
self.set('query_local_nameservers', N_("Foreman will query the locally configured resolver instead of the SOA/NS authorities"), false),
|
||
self.set('remote_addr', N_("If Foreman is running behind Passenger or a remote load balancer, the IP should be set here. This is a regular expression, so it can support several load balancers, i.e: (10.0.0.1|127.0.0.1)"), "127.0.0.1"),
|
||
self.set('token_duration', N_("Time in minutes installation tokens should be valid for, 0 to disable"), 60 * 6),
|
app/services/puppet_fact_parser.rb | ||
---|---|---|
facts[:clientcert]
|
||
end
|
||
|
||
def support_interfaces_parsing?
|
||
true
|
||
end
|
||
|
||
private
|
||
|
||
def get_interfaces
|
Also available in: Unified diff
Fixes #9104 - allow disabling of interface updates