Appdynamics / Appdynamics/appdynamics-cookbooks
Node Name is not set
- Dominant language
- Ruby
- Stars
- 28
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
On linux machines, I find that hostname is empty
content of controller-info.xml
```
xxxxxx
xxxxx
```
I don't know why node-name is blank because it set in the default.rb
https://github.com/Appdynamics/appdynamics-cookbooks/blob/master/attributes/default.rb#L5
Perhaps the string interpolation in the default.rb isn't working correctly.
Additionally it might be better to use chef node name since the hostname can change on the first chef boostrap
default['appdynamics']['node_name'] = Chef::Config[:node_name]
Contributor guide
No contributing guide indexed for this repository
Research direction
Read attributes/default.rb around line 5 and trace how appdynamics.node_name reaches controller-info.xml on Linux. Compare the configured value with the generated element and verify that the resulting XML contains the expected node name after a Chef bootstrap.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100