I created a basic chef infrastructure that contains a workstation, a Chef hosting server, and an Ubuntu server to act as a node. I use this setting in my workplace and therefore a proxy is required to connect to the Internet. I made the necessary proxy settings both in knife.rband on the Ubuntu server. Both the workstation and node are correctly connected to the Internet. Here is the problem. When I try to load this node using knife, I get the following error:
<My Node IP> --2014-02-12 10:29:05-- https://www.opscode.com/chef/install.sh
<My Node IP> Resolving www.opscode.com (www.opscode.com)... 184.106.28.91
<My Node IP> Connecting to www.opscode.com (www.opscode.com)|184.106.28.91|:443... failed: Connection refused.
<My Node IP> bash: line 83: chef-client: command not found
Note that I used the following command to load node -
knife bootstrap <My Node IP> --sudo -x <username> -P <password> -N <name>
could you help me? Thanks in advance.
source
share