Code comments
To add comments to your Puppet code, use shell-style or hash comments.
Hash comments begin with a hash symbol (
#
) and continue to the end of a line. You can start
comments either at the beginning of a line or partway through a line that began with code.
# This is a comment
file {'/etc/ntp.conf': # This is another comment
ensure => file,
owner => root,
}