Release: Chef Development Kit 0.2.0 – Windows support and more

Today we have released a new version for Chef Development Kit a.k.a. Chef DK.

The biggest highlight of this release is the Windows support. Starting with version 0.2.0 Chef DK is now supported on Windows.

Note that Test Kitchen currently doesn’t support having Windows guests in a test matrix. Salim Afiune is currently leading an effort to bring Windows Guest support to Test Kitchen. Until this effort is complete, you will only be able to test non-Windows operating systems on Windows. We will have another release when this functionality is available in Test Kitchen.

In addition to Windows support here is a list of minor improvements that will make life more delightful:

  • chef shell-init command which makes it easy to use Chef’s Ruby environment as the primary dev environment.
  • chef exec command which can execute a given command with Chef’s embedded Ruby environment.
  • --generator-cookbook option for chef generate command which enables using custom cookbook generators.

Our download page http://downloads.getchef.com/chef-dk is updated to point to the new release.

Give this release a shot and let us know if you run into any issues.

Author Serdar Sutay

  • Hmmm, for Windows, I would recommend releasing a PowerShell module that reliably wraps the appropriate functionality. The idea of releasing stand-alone applications on Windows, in the automation arena, is becoming less and less relevant.

    Cheers,
    Trevor Sullivan
    Microsoft MVP: PowerShell

    • That’s on my radar Trevor. Phase one, make the tools available and working well on Windows. Phase two, make the experience even better (by putting a PowerShell wrapper on it).

      • Another recommendation would be to remove the requirement for non-Windows operating systems. From what I’ve read, the “server” for Chef only works on Linux, or some variant thereof.

        Seeing as I have no need to run non-Windows systems for any other purpose, it seems counter-intuitive for me to set up, and spend time learning about, a non-Windows operating system.

        Cheers,
        Trevor Sullivan
        Microsoft MVP: PowerShell

        • While that is true for the Chef Server, there are lots of ways to use Chef that don’t require you to run a non-Windows operating system. For example, we have a SaaS service that provides that functionality, and there are mechanisms to run Chef without any server at all. We’ll keep an eye on what it would take to get the Chef Server running reliably on Windows.

        • Which requirements? Can you elaborate? It would be helpful since I don’t quite grok which ones you’re referring to. But it’s probably me :)

          • Oh, you’re talking about the non-windows requirement for Chef Server itself. Gotcha.

          • Matt,

            That’s correct.

            Cheers,
            Trevor Sullivan
            Microsoft MVP: PowerShell