CHAPTER 10

image

Lightweight Resource Providers

This chapter discusses lightweight resource providers (LWRPs). They are a way to enhance the functionality of chef to provide new integrations which are not provided for out-of-box in chef.

Lightweight Resource Providers

A resource is something that defines the action that needs to be taken and a provider is something that executes that action.

To implement the functionality of a resource and provider in a recipe which is not an inbuilt resource provider, you can create your own LWRPs. You can use custom Ruby codes and inbuilt chef resources to create an LWRP.

LWRPs help in achieving the core objective ...

Get Automation through Chef Opscode now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.