NODE_HOSTNAME tmp=/tmp: Command not found

knife bootstrap NODE_HOSTNAME -x user -P pwd -N NodeClient1

Creating new client for NodeClient1
Creating new node for NodeClient1
Connecting to NODE_HOSTNAME
NODE_HOSTNAME Unmatched '.
NODE_HOSTNAME TMPDIR: Undefined variable.
NODE_HOSTNAME tmp=/tmp: Command not found.
NODE_HOSTNAME else: endif not found.

Though node “NodeClient1” created in chef server it doesn’t display plat form ,ipaddress & fqdn. Anything I am missing over here.

Please respond to questions on StackOverflow before cross-posting.