Integration Plugins → Chef Plugin → Chef Bootstrap *nix or Windows Node Step
This step installs Chef on the given client and runs that node's run-list.
Required properties:
Property Name | Description |
---|---|
FQDN or IP Address | Enter the FQDN or IP address of the target computer. |
Target OS Type | Select the target or client node operating system type where the chef-client should be bootstrapped. |
Optional properties:
Property Name | Description |
---|---|
Node Name | Enter the name of the node. |
SSH User Name | Enter the SSH user name. |
SSH Password | Enter the SSH password. This can be used to pass the password directly on the command line. If this option is not specified and a password is required, Knife will prompt for the password. |
Use SSH Password as Sudo Password | If selected and a bootstrap operation is done using Sudo, the SSH password will be used. |
Run as Sudo | If selected, the bootstrap operation will execute using Sudo. |
Sudo Password | Enter a Sudo password if the Use SSH password as Sudo Password is not selected. |
SSH Forwarding | If selected, SSH agent forwarding is enabled. |
Proxy URL | The proxy server for the target node of the bootstrap operation. |
Chef Version | Enter the version of the chef-client to install. |
Distributions | Enter the template file to be used during a bootstrap operation. Supported distributions are: chef-full (default), centos5-gems, fedora13-gems, ubuntu10.04-gems, ubuntu10.04-apt, ubuntu12.04-gems, and custom bootstrap template files. When this option is used, Knife will search for the template file in the following order: the bootstrap/ folder in current working directory, in the chef-repo, or in the ~/.chef/ directory; a default bootstrap file. Do not use the Template option when this option is specified. |
SSH Gateway | Enter the SSH tunnel or gateway that is used to run a bootstrap action on a machine that is not accessible from the workstation. |
Hint | HINT_NAME[=HINT_FILE] Enter the Ohai hint to be set on the target of the bootstrap. The hint is contained in a file and is formatted as JSON: {'attribute':'value','attribute':'value'...}. HINT_NAME is the name of the hint and HINT_FILE is the name of the hint file located at /etc/chef/ohai/hints/HINT_FILE.json. |
Identity File | Enter the SSH identity file used for authentication. Key-based authentication is recommended. |
JSON Attributes | Enter a JSON string to add to the first run of a chef-client. |
Verify Host Key | If selected, the host key is verified. |
SSH Port | Enter the port SSH uses. |
Prerelease | If selected, prerelease gems will be installed. |
Run-list | Enter a comma-separated list of roles and/or recipes to be added to this node's run-list after it is has been bootstrapped. |
Secret | Enter the encryption key that is used for values contained within a data bag item. |
Secret File | Enter the path to the file that contains the encryption key. |
Template |
Enter the path to a template file that will be used during a bootstrap operation. Do not use the Distributions option when this is specified. |
Copyright © 2013–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.