WebSep 11, 2024 · chef generate cookbook cookbooks/apache cd cookbooks/apache Edit the metadata.rb file and enter your details. Save and close. cd recipes Edit default.rb and add the following lines: ## package 'apache2' do package_name 'httpd' action :install end service 'apache2' do service_name 'httpd' action [:start, :enable] end WebMay 28, 2014 · package_name "httpd" cookbook_name "apache" recipe_name "default" end. Running handlers: [2014-05-28T07:49:16+00:00] ERROR: Running exception handlers ... It may be best to start a new thread here and we can troubleshoot and fix the Chef install on your Windows 7 box together.
How to Create your First Chef Cookbook Linode
WebIf you do not see master and worker processes, nginx is not running correctly. Make sure you do not have a port conflict with your httpd service. Install chef client on nodes. Before start installing the chef client, you should make … WebThe HTTPD Cookbook is a Library Cookbook that provides resource primitives for use in recipes. It is designed to be an example to reference for creating highly re-usable cross … calvin klein women puffer jacket
A Beginner’s Guide to Chef on CentOS 8 - Liquid Web
WebOct 13, 2024 · In this section, we will create a simple cookbook to install and configure the Apache web server with a Hello Chef World Web Page. Step 1: Generate cookbook … WebJan 17, 2013 · # chkconfig httpd on # /etc/init.d/httpd start. Task: Install Apache/httpd under Red Hat Enterprise Linux. Type the following command: # up2date httpd OR # yum install httpd To start the Apache/httpd, run: # chkconfig httpd on # /etc/init.d/httpd start. Task: Debian Linux httpd/Apache installation. Use the apt-get command: # apt-get … WebJun 13, 2024 · Generate a apache cookbook: 2. Now you will see a directory called apache. Please go inside apache/recipes: 3. Open the default.rb file in your favourite test editor and update it with below contents: 4. Now cd to “apache” directory once again and create “files/default” directories. Chef will look for index.html in this location. coefficient of performance freezer