![](https://www.devopsschool.com/blog/wp-content/uploads/2020/01/Chef-Lab-and-Excercise-–-Recipe-–-Part-2-new.png)
Submit a Assignment of www.Debug.school
- Write a recipe using template resources to create a file, but only if an attribute has a specific value.
- Write a recipe and set same attributes in following location and decide precedence.
- – Default attribute in /attributes/default.rb
- – Default attribute in node object in recipe
- – Normal attribute set in a recipe
- Write a recipe to create a file using a string, but not if “/etc/passwd” exists?
- Write a recipe to install vim’, ‘git’, ‘curl using loops
- Write a recipe to create a file in /tmp/if_only only if there is a php executable currently installed on this system.# which php
- Write a recipe to install httpd using not_if system is CentOS.
![loading](https://www.devopsschool.com/blog/wp-content/plugins/youtube-embed-plus/images/gallery-page-loader.gif)
![play](https://www.devopsschool.com/blog/wp-content/plugins/youtube-embed-plus/images/playhover.png)
Chef Essential Tutorial By Rajesh Kumar in 2020 – Session-1
![play](https://www.devopsschool.com/blog/wp-content/plugins/youtube-embed-plus/images/playhover.png)
Chef Essential Tutorial By Rajesh Kumar in 2020 – Session-2
![play](https://www.devopsschool.com/blog/wp-content/plugins/youtube-embed-plus/images/playhover.png)
Chef Essential Tutorial By Rajesh Kumar in 2020 – Session-3
![loading](https://www.devopsschool.com/blog/wp-content/plugins/youtube-embed-plus/images/gallery-page-loader.gif)
Latest posts by Rajesh Kumar (see all)
- How to remove sensitive warning from ms office powerpoint - July 14, 2024
- AIOps and DevOps: A Powerful Duo for Modern IT Operations - July 14, 2024
- Leveraging DevOps and AI Together: Benefits and Synergies - July 14, 2024