PrepAway - Latest Free Exam Questions & Answers

What is the syntax error in the following simple Puppet configuration file?

What is the syntax error in the following simple Puppet configuration file?

class test_class {
file { "/tmp/test.txt":
mode => 600,
owner => root,
group => root
}
}
# Define thede
node testclient {
isa test_class
}

PrepAway - Latest Free Exam Questions & Answers

A.
Comments begin with // character andt a #.

B.
The colon (:) after /tmp/test.txt should be a semicolon (;).

C.
class,de and file sections require a semicolon (;) at the end of their definitions.

D.
isa should be include.


Leave a Reply