----
Introducing Chef Workstation
// Chef Blog
We're excited to announce the release of Chef Workstation, providing everything you need to get started with Chef with a simple one-click installation.
Ad-Hoc Configuration Management with chef-run
Chef Workstation comes with the new chef-run
utility, which can be used to execute chef code on any remote system accessible via SSH or WinRM. This provides a quick way to apply config changes to the systems you manage whether or not they're being actively managed by Chef, without requiring any pre-installed software. With chef-run
, you can execute individual resources, or pre-existing Chef recipes on any number of servers with a single, simple command.
In the simple example above, we see chef-run
used in tandem with InSpec, Chef's compliance automation framework. First, InSpec is checking to see whether our host is configured with the ntp
package installed, which is responsible for ensuring server clocks are kept in sync. Since our InSpec profile is reporting a failure, we then use chef-run
to install ntp using Chef's package
resource, like so:
chef-run -i ~/path/to/sshkey user@host package ntp action=install
Finally, we re-run the previously failing InSpec profile for immediate validation that our update was successfully applied.
Robust Testing & Development Tools
Chef Workstation also includes everything already packaged within the ChefDK. Development tools for testing, dependency resolution, and cookbook generation are all included alongside chef-run, ensuring that whether you're consuming existing chef policies, or creating your own, you have everything you need to get up and running quickly.
Get Started Now
- Learn more about Chef Workstation
- Get up and running quickly with our getting started guide and Chef Workstation FAQs
- Check out the ChefConf keynote presentations for more information on everything new at Chef!
The post Introducing Chef Workstation appeared first on Chef Blog.
----
Read in my feedly
No comments:
Post a Comment