- Mastering Puppet 5
- Ryan Russell Yates Jason Southgate
- 56字
- 2021-07-16 17:46:18
Implementing the ensure property
In order to implement the ensure property, the providers need to be able to ascertain whether the resource exists, create the resource where it doesn't exist, and destroy resources that exist. This is implemented by virtue of the exists?, create, and destroy methods, which we will look at in the following sections.