week3 – Node setup, resources & recipes
week3 – Node setup, resources & recipes week3 – Node setup, resources & recipes
From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.
With Motoshare, every parked vehicle finds a purpose.
Owners earn. Renters ride.
🚀 Everyone wins.
week3 – Node setup, resources & recipes week3 – Node setup, resources & recipes
week4 – Common configuration data with data bags week4 – Common configuration data with data bags
week5 – Using environments and knife-ec2 week5 – Using environments and knife-ec2
Community cookbooks and further resources week6 – Community cookbooks and further resources
rajeshkumar created the topic: How to generate the pre populated information in metadata.rb in chef? How to generate the pre populated information in metadata.rb in chef You can configure the values in my knife.rb: cookbookcopyright “Rajesh Kumar” cookbooklicense “apachev2” cookbook_email “rajesh@scmgalaxy.com” Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn
rajeshkumar created the topic: FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn rajeshkumar replied the topic: FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited u I just login to the nodes and deleted all files under /etc/chef/ and rerun the commands and worked like … Read more
rajeshkumar created the topic: Configuration management chef tools projects to test your skills? Project 1 – Write a cookbook which can add your bash script in crontab on your nodes. Project 2 – Perforce the following workflow of chef configuration management tools? — create a new cookbook and add a recipe to it — upload … Read more
rajeshkumar created the topic: FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited u FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) Error gitlab-ctl reconfigure Starting Chef Client, version 11.12.2 Compiling Cookbooks… Recipe: gitlab::default * directory[/etc/gitlab] action create (up to date) ================================================================================ Recipe Compile Error in /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb ================================================================================ RuntimeError ———— External URL must include a FQDN … Read more
Chef Server All logs generated by the Chef server can be found in /var/log/opscode. Each service enabled on the system also has a sub-directory in which service-specific logs are located, typically found in /var/log/opscode/service_name. The Chef server has built-in support for easily tailing the logs that are generated. To view all the logs being generated … Read more
Chef notifies and subscribes explained with examples A notification is a property on a resource that listens to other resources in the resource collection and then takes actions based on the notification type (notifies or subscribes). Timers A timer specifies the point during the chef-client run at which a notification is run. The … Read more