Automation, Orchestration, and Scripting
A developer wrote a class named webserver, but none of its resources appear on a node after several agent runs. Which two actions cause the class to be applied to that node? (Choose two.)
Choose 2 answers
Show the answer
Correct answersB. Assign the class to the node through an external node classifierC. Declare the class with include in the node's definition in site.pp
A class is only applied once it is declared or assigned to a node, either with include in the node's manifest or through classification such as an ENC. Running Facter only reports facts and does not classify the node.