- Chef:Powerful Infrastructure Automation
- John Ewart Matthias Marschall Earl Waud
- 157字
- 2021-07-09 21:06:34
Testing recipes
There are a number of ways to test your recipes. One approach is to simply follow the process of developing your recipes, uploading them to your Chef server, and deploying them to a host; repeat this until you are satisfied. This has the benefit of executing your recipes on real instances, but the drawback is that it is slow, particularly if you are testing on multiple platforms, and requires that you maintain a fleet of hosts. If your cookbook run times are reasonably short and you have a small number of platforms to support them, then this might be a viable option. There is a better option to test your recipes, and it is called ChefSpec. For those who have used RSpec, a Ruby testing library, these examples will be a natural extension of RSpec. If you have never used RSpec, the beginning of this chapter will introduce you to RSpec's testing language and mechanisms.
- 數據展現的藝術
- Linux Mint System Administrator’s Beginner's Guide
- Security Automation with Ansible 2
- 深度學習中的圖像分類與對抗技術
- 傳感器技術應用
- 大數據安全與隱私保護
- iClone 4.31 3D Animation Beginner's Guide
- WordPress Theme Development Beginner's Guide(Third Edition)
- 網絡組建與互聯
- 計算機系統結構
- 基于ARM 32位高速嵌入式微控制器
- Ceph:Designing and Implementing Scalable Storage Systems
- 統計學習理論與方法:R語言版
- 21天學通C語言
- Linux嵌入式系統開發