Automation, Orchestration, and Scripting

An administrator creates a Puppet module named ntp. The main class, also named ntp, must load when a manifest contains the statement include ntp. In which location should the class be defined?

Show the answer

Correct answerD. ntp/manifests/init.pp

A module's manifests directory holds its classes, and init.pp must define the class that shares the module's name. The files directory is tempting but only serves static files for file resources, not Puppet code.