Install chef-client: https://www.chef.io/download-chef-client/ which actually generates the same one-liner scirpt I used, except for opscode.com domain instead of chef.io, if you run `diff` on both script they are identical with only different domain name.
Please submit your pull req and i will be happy to add your changes.