lee-pai-long
6/10/2018 - 10:06 PM

Install Chefdk

[Mint] Install Chefdk

$ wget https://goo.gl/1wXfBC -O /tmp/chefdk.deb \
> && [sudo] dpkg -i $_ \
> && chef verify \
> && export PATH=$HOME/.chefdk/gem/ruby/2.3.0/bin:$PATH \
> && echo 'export PATH=$HOME/.chefdk/gem/ruby/2.3.0/bin:$PATH' >> ~/.bashrc \
> && chef gem install knife-solo

Note: This require you to have git global user.name and user.email defined