• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

leftathome/chef-koans: An experimental, test-driven way to learn about Chef.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

leftathome/chef-koans

开源软件地址:

https://github.com/leftathome/chef-koans

开源编程语言:

Ruby 95.7%

开源软件介绍:

chef-koans

An experimental, test-driven way to learn about Chef. Takes some inspiration from Ruby Koans and from other things that are awesome and simple.

Getting Ready

  • Have the Chef-DK installed.
  • Have Vagrant installed.
  • (currently) have Virtualbox installed.
  • Clone this repository to a directory on your workstation using git clone.
  • Run chef exec bundle install from your local working copy.

You should now have everything you need on your workstation to begin learning Chef.

You should.

But let's test it.

Getting Started

If you're reading this README from your workstation, you're on the master branch of the repo.

Run kitchen test. This will:

  • Invoke Test Kitchen (http://kitchen.ci/)
  • Download a Vagrant box image.
  • Start a new VM on your system.
  • Install the latest version of Chef on the new VM.
  • Run Chef against the /empty/ cookbook in this repository.
  • Run tests against the VM.

This is the test cycle you're going to use as you walk the path to enlightenment. The first time, it will take a few minutes.

Did it work?

Yes, the VM started and all tests passed!

  • Please check out branch step-1. You can use the command git checkout -b step-1 followed by git pull origin step-1 from within the chef-koans repository to do this.

No, I encountered a problem.

  • It's okay, lots of software doesn't work all the time. Here are some things to try:
    • Try it again. It doesn't seem like it should work, but it can't hurt.
    • Google the error message - whatever is marked in red, or the first line of text that sounds ominous, like NameError: failed to reticulate splines or frob() returned 1, expected 0.
    • Go to GitHub and search the issues http://github.com/leftathome/chef-koans/issues to see if anyone's come across your problem before. Maybe someone has figured out your problem and posted the solution, or maybe it's the code's fault and you need to git pull to see the fix.
    • Open a [http://github.com/leftathome/chef-koans/issues/new](GitHub issue) and we'll try to fix it.

Getting Involved

If you have a lesson plan idea, find a bug or have any other idea that might make chef-koans better, please create an issue. If you want to work on chef-koans, fork the repository on GitHub and send us a pull request.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
steemit/koa-jsonrpc发布时间:2022-07-09
下一篇:
yayxs/flutter-koa2-du: Flutter 1.12.13 + Koa2.13.0 实现跨端《独APP》最近更新 202 ...发布时间:2022-07-09
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap