Chef – Libraries

  • Post author:
  • Post category:Chef
  • Post comments:0 Comments

Libraries in Chef provides a place to encapsulate compiled logic so that the cookbook recipes remain neat and clean. Creating the Library Step1 − Create a helper method in cookbook’s library.…

Continue ReadingChef – Libraries

Chef – Templates

  • Post author:
  • Post category:Chef
  • Post comments:2 Comments

In Infrastructure, configuration management is all about how well one configures the hosts. In general, all the configurations are done using the configuration files. Chef uses templates to be able to fill…

Continue ReadingChef – Templates

Chef – Nodes

  • Post author:
  • Post category:Chef
  • Post comments:0 Comments

Knife preflight shows details about all the nodes which uses a certain cookbook before uploading it to Chef server. Getting Started In order to get started, we need to have knife-preflight…

Continue ReadingChef – Nodes