Introduction
In the previous chapter, we introduced virtual and exported resources. Virtual and exported resources are ways to manage how resources are applied to a node. In this chapter, we will deal with when and how to apply resources. In some cases, you may only wish to apply a resource in the off hours, while in others, you may wish to only audit the resource without making any changes. In other cases, you may wish to apply completely different resources based on which node is using the code. As we will see, Puppet has the flexibility to deal with all these scenarios.