Install Chef Node

Executes a chef node.

The Install Chef Node step assumes that the Chef code is in the same folder as the working directory for the step. Therefore, in most cases, you download the Chef code to the process working directory and then run the Install Chef Node step in the same working directory. For example, if you specify the value install_java for the Node name parameter, the step looks for a role file named nodes/install_java_node.json, relative to the working directory for the step.

Table 1. Input properties for the Install Chef Node step
Name Type Description Required
Chef Installation Directory String Path to your Chef installation or if no value is provided we will attempt to use the 'chef-solo.(bat|sh)' that is on the System path. On Windows this would usually be 'C:\opscode\chef' and on linux '/opt/chef' but you can provide a path to any location where you have installed Chef. On Windows you can provide a path in Unix format and we will append the System drive letter to the path automatically, this is useful in cases where you might not know what the drive letter should be. i.e. '/opscode/chef' will be translated into 'C:\opscode\chef' If the 'Install Chef' step was used to install Chef in an earlier step in the process, you can reference the output property 'chefInstallDir' from that step in this field. i.e. ${p:%Install Chef%/chefInstallDir} where %Install Chef% is the name you set for the 'Install Chef' step. No
Node Name String Name of the node to execute. Yes

Feedback