Advertisement
Guest User

Untitled

a guest
Jun 24th, 2015
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. ~$ curl -L https://www.chef.io/chef/install.sh | sudo bash -s -- -v 12.4.0
  2. % Total % Received % Xferd Average Speed Time Time Time Current
  3. Dload Upload Total Spent Left Speed
  4. 100 18736 100 18736 0 0 60799 0 --:--:-- --:--:-- --:--:-- 60831Password:
  5.  
  6. Downloading Chef 12.4.0 for mac_os_x...
  7. downloading https://www.getchef.com/chef/metadata?v=12.4.0&prerelease=false&nightlies=false&p=mac_os_x&pv=10.10&m=x86_64
  8. to file /tmp/install.sh.48781/metadata.txt
  9. trying wget...
  10. trying curl...
  11. url https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.8/x86_64/chef-12.4.0-1.dmg
  12. md5 421f2f46702186baf04aa309e67010be
  13. sha256 6dfb7faada6458dc79cf5584253bbd01b7bd1d515bf96b5646a398e7a10f4fc1
  14. downloaded metadata file looks valid...
  15. downloading https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.8/x86_64/chef-12.4.0-1.dmg
  16. to file /tmp/install.sh.48781/chef-12.4.0-1.dmg
  17. trying wget...
  18. Comparing checksum with shasum...
  19. Installing Chef 12.4.0
  20. installing dmg file...
  21. Checksumming Protective Master Boot Record (MBR : 0)…
  22. Protective Master Boot Record (MBR :: verified CRC32 $A63E199D
  23. Checksumming GPT Header (Primary GPT Header : 1)…
  24. GPT Header (Primary GPT Header : 1): verified CRC32 $FF4AFFE3
  25. Checksumming GPT Partition Data (Primary GPT Table : 2)…
  26. GPT Partition Data (Primary GPT Tabl: verified CRC32 $FE1C4B6F
  27. Checksumming (Apple_Free : 3)…
  28. (Apple_Free : 3): verified CRC32 $00000000
  29. Checksumming disk image (Apple_HFS : 4)…
  30. ..........................................................................................................................................................................................................
  31. disk image (Apple_HFS : 4): verified CRC32 $5AB2BBEF
  32. Checksumming (Apple_Free : 5)…
  33. (Apple_Free : 5): verified CRC32 $00000000
  34. Checksumming GPT Partition Data (Backup GPT Table : 6)…
  35. GPT Partition Data (Backup GPT Table: verified CRC32 $FE1C4B6F
  36. Checksumming GPT Header (Backup GPT Header : 7)…
  37. GPT Header (Backup GPT Header : 7): verified CRC32 $6087A04D
  38. verified CRC32 $6756DB0C
  39. /dev/disk4 GUID_partition_scheme
  40. /dev/disk4s1 Apple_HFS /Volumes/chef_software
  41. installer: Package name is Chef Client
  42. installer: Installing at base path /
  43. installer: The install was successful.
  44. "disk4" unmounted.
  45. "disk4" ejected.
  46. ~$ chef-client -v
  47. Chef: 12.3.0
  48. ~$ which chef-client
  49. /opt/chefdk/bin/chef-client
  50. ~$ whereis chef-client
  51. /usr/bin/chef-client
  52. ~$ /usr/bin/chef-client -v
  53. Chef: 12.4.0
  54. ~$ sudo cp /usr/bin/chef-client /opt/chefdk/bin/chef-client
  55. ~$ chef-client -v
  56. Chef: 12.3.0
  57. ~$ /opt/chefdk/bin/chef-client -v
  58. Chef: 12.3.0
  59. ~$ sudo mv /opt/chefdk/bin/chef-client /opt/chefdk/bin/chef-client-old
  60. ~$ sudo cp /usr/bin/chef-client /opt/chefdk/bin/
  61. ~$ chef-client -v
  62. Chef: 12.3.0
  63. ~$ /opt/chefdk/bin/chef-client -v
  64. Chef: 12.3.0
  65. ~$ /usr/bin/chef-client -v
  66. Chef: 12.4.0
  67. ~$ chef-client -v
  68. Chef: 12.3.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement