Update outdated info and links in site.pp comments

This commit attempts to cleanup and modernize the comments in site.pp a
bit.

For one thing, I've updated the docs links to point to working URL's.
For another, I tried to reorganize, clarify, and deduplicate the comments.
This commit is contained in:
Nate McCurdy 2019-05-06 17:31:50 -05:00
parent 306107b98b
commit a8c6d51264
No known key found for this signature in database
GPG Key ID: CA2252343D9B2D32

View File

@ -1,30 +1,29 @@
## site.pp ## ## site.pp ##
# This file (/etc/puppetlabs/puppet/manifests/site.pp) is the main entry point # This file (./manifests/site.pp) is the main entry point
# used when an agent connects to a master and asks for an updated configuration. # used when an agent connects to a master and asks for an updated configuration.
# https://puppet.com/docs/puppet/latest/dirs_manifest.html
# #
# Global objects like filebuckets and resource defaults should go in this file, # Global objects like filebuckets and resource defaults should go in this file,
# as should the default node definition. (The default node can be omitted # as should the default node definition if you want to use it.
# if you use the console and don't define any other nodes in site.pp. See
# http://docs.puppetlabs.com/guides/language_guide.html#nodes for more on
# node definitions.)
## Active Configurations ## ## Active Configurations ##
# Disable filebucket by default for all File resources: # Disable filebucket by default for all File resources:
#https://docs.puppet.com/pe/2015.3/release_notes.html#filebucket-resource-no-longer-created-by-default # https://github.com/puppetlabs/docs-archive/blob/master/pe/2015.3/release_notes.markdown#filebucket-resource-no-longer-created-by-default
File { backup => false } File { backup => false }
# DEFAULT NODE ## Node Definitions ##
# Node definitions in this file are merged with node data from the console. See
# http://docs.puppetlabs.com/guides/language_guide.html#nodes for more on
# node definitions.
# The default node definition matches any node lacking a more specific node # The default node definition matches any node lacking a more specific node
# definition. If there are no other nodes in this file, classes declared here # definition. If there are no other node definitions in this file, classes
# will be included in every node's catalog, *in addition* to any classes # and resources declared in the default node definition will be included in
# specified in the console for that node. # every node's catalog.
#
# Note that node definitions in this file are merged with node data from the
# Puppet Enterprise console and External Node Classifiers (ENC's).
#
# For more on node definitions, see: https://puppet.com/docs/puppet/latest/lang_node_definitions.html
node default { node default {
# This is where you can declare classes for all nodes. # This is where you can declare classes for all nodes.
# Example: # Example: