Skip to content

Node Name is not set #78

@spuder

Description

@spuder

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions