Most modules perform all of their work through their manifests.
When planning the classes for your module, it is most straightforward to think about how you would like to use the finished module. There is a wide range of possible interface designs. The de facto standard stipulates that the managed subsystem is initialized on the agent system by including the module's main class; the class that bears the same name as the module and is implemented in the module's init.pp file.
For our Cacti module, the user should use the following:
As a result, Puppet ...