Actions
Feature #3435
closedforeman-installer fails when /etc/hosts is not filled appropriately
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
foreman-installer script
Target version:
-
Description
If one leaves the /etc/hosts as it is
127.0.0.1 localhost
::1 localhost
and run the foreman-installer, installation fails with
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.example.com]: Could not evaluate: undefined method `[]' for nil:NilClass
To me, it might be due to the smart-proxy not being able to ping foreman.example.com since on the host there is no route to it leading to the nil:NilClass. (I have no DNS setup in my case)
Updated by Greg Sutcliffe about 11 years ago
- Tracker changed from Bug to Feature
- Category set to foreman-installer script
We should probably add this to checks/hostname.rb (or to a new check file)
Updated by Dominic Cleal about 11 years ago
- Related to Feature #3394: Run puppet with --trace added
Updated by Anonymous over 7 years ago
- Status changed from New to Resolved
there an installer hook with a check now.
Actions