2015-08-25 19:21:30 +00:00
|
|
|
## site.pp ##
|
|
|
|
|
2019-05-06 22:31:50 +00:00
|
|
|
# This file (./manifests/site.pp) is the main entry point
|
2015-08-25 19:21:30 +00:00
|
|
|
# used when an agent connects to a master and asks for an updated configuration.
|
2019-05-06 22:31:50 +00:00
|
|
|
# https://puppet.com/docs/puppet/latest/dirs_manifest.html
|
2015-08-25 19:21:30 +00:00
|
|
|
#
|
|
|
|
# Global objects like filebuckets and resource defaults should go in this file,
|
2019-05-06 22:31:50 +00:00
|
|
|
# as should the default node definition if you want to use it.
|
2015-08-25 19:21:30 +00:00
|
|
|
|
|
|
|
## Active Configurations ##
|
|
|
|
|
2015-12-07 16:03:13 +00:00
|
|
|
# Disable filebucket by default for all File resources:
|
2019-05-06 22:31:50 +00:00
|
|
|
# https://github.com/puppetlabs/docs-archive/blob/master/pe/2015.3/release_notes.markdown#filebucket-resource-no-longer-created-by-default
|
2015-12-07 16:03:13 +00:00
|
|
|
File { backup => false }
|
2015-08-25 19:21:30 +00:00
|
|
|
|
2019-05-06 22:31:50 +00:00
|
|
|
## Node Definitions ##
|
2015-08-25 19:21:30 +00:00
|
|
|
|
|
|
|
# The default node definition matches any node lacking a more specific node
|
2019-05-06 22:31:50 +00:00
|
|
|
# definition. If there are no other node definitions in this file, classes
|
|
|
|
# and resources declared in the default node definition will be included in
|
|
|
|
# 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
|
2015-08-25 19:21:30 +00:00
|
|
|
node default {
|
|
|
|
# This is where you can declare classes for all nodes.
|
|
|
|
# Example:
|
|
|
|
# class { 'my_class': }
|
|
|
|
}
|