Skip to content

Instantly share code, notes, and snippets.

@fujin
Created August 26, 2015 21:38
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 fujin/8531847666e443a0ac32 to your computer and use it in GitHub Desktop.
Save fujin/8531847666e443a0ac32 to your computer and use it in GitHub Desktop.
[aj@consul88d3cc8e]~% curl https://gist.githubusercontent.com/fujin/de906a474ab5b451d218/raw/cf984f3264a91887830e672eb3d4e35abf507c4e/chef-upgrade.sh | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 435 100 435 0 0 810 0 --:--:-- --:--:-- --:--:-- 810
Loaded plugins: fastestmirror, priorities, versionlock
pantheon_internal/x86_64/signature | 836 B 00:00:00
pantheon_internal/x86_64/signature | 1.0 kB 00:00:00 !!!
pantheon_internal_/x86_64/signature | 836 B 00:00:00
pantheon_internal_/x86_64/signature | 1.0 kB 00:00:00 !!!
Loading mirror speeds from cached hostfile
77 packages excluded due to repository priority protections
No packages marked for update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18736 100 18736 0 0 82190 0 --:--:-- --:--:-- --:--:-- 82537
Downloading Chef 12.4.1 for el...
downloading https://www.opscode.com/chef/metadata?v=12.4.1&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.3384/metadata.txt
trying wget...
url https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.4.1-1.el6.x86_64.rpm
md5 f09a9ae589bb9040232c600b008ef812
sha256 95150a4b3c3b2313bd206876e09e2fcf742f2fa4611951d52c79225becb32928
downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.4.1-1.el6.x86_64.rpm
to file /tmp/install.sh.3384/chef-12.4.1-1.el6.x86_64.rpm
trying wget...
Comparing checksum with sha256sum...
Installing Chef 12.4.1
installing with rpm...
warning: /tmp/install.sh.3384/chef-12.4.1-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:chef-12.4.1-1.el6 ################################# [ 50%]
Thank you for installing Chef!
Cleaning up / removing...
2:chef-12.4.1-1.el7 ################################# [100%]
Successfully installed rest-client-1.8.0
1 gem installed
[aj@consul88d3cc8e]~%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment