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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.