Sunday, 5 June 2016

Install Chef SDK


To setup the ChefDK development environment on MacOS+XCode or Linux, follow the steps detailed here:
  1. Install Virtualbox
    • grab the extensions pack too, and launch it after installing the main package
  2. Install Vagrant
  3. After vagrant has been installed, run:
    • vagrant plugin install vagrant-berkshelf
    • vagrant plugin install vagrant-s3auth
  4. Download the ChefDK
    • Just run/install the package
    • (Detailed guide, no need to follow, just for info)
  5. After ChefDK is installed, in a new terminal window (so PATH changes are picked up), run the following (ignore the warning, as long as it says success at the end):
    • sudo /opt/chefdk/embedded/bin/gem install chef-provisioning-ssh
  6. Install python package manager pip if needed. (Instructions here).
  7. Run:
    • pip install awscli boto
  8. If not running with a machine IAM role, configure boto which will also configure for awscli, packer, and other AWS enabled tools.

No comments:

Post a Comment