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

What is the syntax error in the following simple Puppet configuration file?
<code>
class test_class {
file { “/tmp/test.txt”:
mode => 600,
owner => root,
group => root
}
}
# Define thede
node testclient {
isa test_class
}
</code>

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
}

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 0

Your email address will not be published. Required fields are marked *