Skip to content

Instantly share code, notes, and snippets.

@ranjib
Created February 12, 2014 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ranjib/8949773 to your computer and use it in GitHub Desktop.
Save ranjib/8949773 to your computer and use it in GitHub Desktop.
ranjib@trusty-ranjib:~/workspace/chef [lxc] $ bxk bootstrap 10.0.3.39 -x ubuntu -P ubuntu --sudo
WARNING: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
WARNING: Specifying the encrypted data bag secret key using an 'encrypted_data_bag_secret'
entry in 'knife.rb' is deprecated. Please see CHEF-4011 for more details. You
can supress this warning and still distribute the secret key to all bootstrapped
machines by adding the following to your 'knife.rb' file:
knife[:secret_file] = "/path/to/your/secret"
If you would like to selectively distribute a secret key during bootstrap
please use the '--secret' or '--secret-file' options of this command instead.
IMPORTANT: In a future version of Chef, this
behavior will be removed and any 'encrypted_data_bag_secret' entries in
'knife.rb' will be ignored completely.
WARNING: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Bootstrapping Chef on 10.0.3.39
10.0.3.39 knife sudo password:
Enter your password:
10.0.3.39
10.0.3.39 % Total % Received % Xferd Average Speed Time Time Time Current
10.0.3.39 Dload Upload Total Spent Left Speed
100 13347 100 13347 0 0 29784 0 --:--:-- --:--:-- --:--:-- 29859
10.0.3.39 Downloading Chef 11.10.0 for ubuntu...
10.0.3.39 downloading https://www.opscode.com/chef/metadata?v=11.10.0&prerelease=false&p=ubuntu&pv=14.04&m=x86_64
10.0.3.39 to file /tmp/install.sh.493/metadata.txt
10.0.3.39 trying curl...
10.0.3.39 url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/13.04/x86_64/chef_11.10.0-1.ubuntu.13.04_amd64.deb
10.0.3.39 md5 2e3fdaebfbfd5f76060434849ffa88b8
10.0.3.39 sha256 41915371c414587539eba886ac028bc8196871f07932f1e772f9e7ecaecad796
10.0.3.39 yolo true
10.0.3.39 downloaded metadata file looks valid...
10.0.3.39 downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/13.04/x86_64/chef_11.10.0-1.ubuntu.13.04_amd64.deb
10.0.3.39 to file /tmp/install.sh.493/chef_11.10.0-1.ubuntu.13.04_amd64.deb
10.0.3.39 trying curl...
10.0.3.39 trying perl...
10.0.3.39 Unable to retrieve a valid package!
10.0.3.39 Please file a bug report at http://tickets.opscode.com
10.0.3.39 Project: Chef
10.0.3.39 Component: Packages
10.0.3.39 Label: Omnibus
10.0.3.39 Version: 11.10.0
10.0.3.39
10.0.3.39 Please detail your operating system type, version and any other relevant details
10.0.3.39 Metadata URL: https://www.opscode.com/chef/metadata?v=11.10.0&prerelease=false&p=ubuntu&pv=14.04&m=x86_64
10.0.3.39 Download URL: https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/13.04/x86_64/chef_11.10.0-1.ubuntu.13.04_amd64.deb
10.0.3.39 \nDEBUG OUTPUT FOLLOWS:\n\nSTDERR from curl:\n\nHTTP/1.1 200 OK
10.0.3.39 x-amz-id-2: RWjzE9r+90JyfvwNhSdIeWNlrwQrsJOoF4wLKjlpjXPw57Jywccre2gRShvGTdbB
10.0.3.39 x-amz-request-id: A93E58A74B592C25
10.0.3.39 Date: Wed, 12 Feb 2014 03:41:54 GMT
10.0.3.39 Last-Modified: Thu, 06 Feb 2014 22:11:47 GMT
10.0.3.39 ETag: "2e3fdaebfbfd5f76060434849ffa88b8"
10.0.3.39 Accept-Ranges: bytes
10.0.3.39 Content-Type: application/x-debian-package
10.0.3.39 Content-Length: 32662358
10.0.3.39 Server: AmazonS3
\n\nSTDERR from perl:\n\nCan't locate LWP/Simple.pm in @INC (you may need to install the LWP::Simple module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at -e line 1.
10.0.3.39 BEGIN failed--compilation aborted at -e line 1.\n
10.0.3.39 bash: line 89: chef-client: command not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment