Skip to content

Instantly share code, notes, and snippets.

@jjasghar
Created January 20, 2015 20:04
Show Gist options
  • Save jjasghar/48282346d7a3a0be6846 to your computer and use it in GitHub Desktop.
Save jjasghar/48282346d7a3a0be6846 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo dpkg -i https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.3.5-1_amd64.deb
chef exec rake test
@kramvan1
Copy link

Would this also need a 3.5 step to setup the shell correctly?

eval "$(chef shell-init SHELL_NAME)"' >> ~/.YOUR_SHELL_RC_FILE

@kramvan1
Copy link

never mind, the chef exec does this shell env setup, still learning this new dk stuff

@kramvan1
Copy link

Remind to update the link to use the new 0.3.6 version of ChefDK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment