Posts Tagged ‘Chef’:

How to generate the pre populated information in metadata.rb in chef?

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

Tags:

Fatal: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully

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…)

Tags:

Configuration management chef tools projects to test your skills?

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…)

Tags:

FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited u

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…)

Tags:

Logging in Chef Explained

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

  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…)

Chef Internal – How Chef maintain the state of each resources internally?

Chef Client A chef-client is an agent that runs locally on every node that is under management by Chef. The chef-client executable can be run as a daemon. When a chef-client is run, it will perform all of the steps that are required to bring the node into the expected state, including: Registering and authenticating

(Read More…)

Top Questions on Server Configuration Management Tools Chef, Puppet, and Ansible

  Source – http://hub.scalr.com/blog/top-questions-on-server-configuration-management-tools-chef-puppet-and-ansible-2 As a quick recap, configuration management tools enable companies to standardize and automate their infrastructure. Through standardization, you can build systems that are platform independent (i.e. instead of relying on AMIs or provider specific toolsets). These tools also make it easy reproduce servers for scaling or testing, and recover from disaster

(Read More…)

What is the significance of the default directory under chef cookbook /templates?

  What is the significance of the default directory under chef cookbook /templates? A cookbook is frequently designed to work across many platforms and is often required to distribute a specific template to a specific platform. This is a New in Chef Client 12.0. A cookbook can be designed to support the distribution of templates

(Read More…)

© Tutorials
CyberChimps