On linux machines, I find that hostname is empty
content of controller-info.xml
<application-name>xxxxxx</application-name>
<tier-name>xxxxx</tier-name>
<node-name></node-name>
</controller-info>
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]
On linux machines, I find that hostname is empty
content of controller-info.xml
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