2c98a9264c
Prior to this commit, the control-repo was an example of the structure of a control repo but it also included puppet code to help setup code manager and instructions to get that all setup in a very specific way. This was great for users that wanted to follow those instructions exactly but wasn't great for people just looking for an example to start from. After this commit, the control-repo will be just an example once again and a new repo somehwere else will pop up to provide the explicit instructions on how to use the example with code manager. There are links added to puppetlabs/control-repo to a new repo that will have a version of the code that once lived in puppetlabs/control-repo
33 lines
1.3 KiB
Puppet
33 lines
1.3 KiB
Puppet
## site.pp ##
|
|
|
|
# This file (/etc/puppetlabs/puppet/manifests/site.pp) is the main entry point
|
|
# used when an agent connects to a master and asks for an updated configuration.
|
|
#
|
|
# Global objects like filebuckets and resource defaults should go in this file,
|
|
# as should the default node definition. (The default node can be omitted
|
|
# 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 ##
|
|
|
|
# Disable filebucket by default for all File resources:
|
|
#http://docs.puppetlabs.com/pe/latest/release_notes.html#filebucket-resource-no-longer-created-by-default
|
|
File { backup => false }
|
|
|
|
# DEFAULT NODE
|
|
# 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
|
|
# definition. If there are no other nodes in this file, classes declared here
|
|
# will be included in every node's catalog, *in addition* to any classes
|
|
# specified in the console for that node.
|
|
|
|
node default {
|
|
# This is where you can declare classes for all nodes.
|
|
# Example:
|
|
# class { 'my_class': }
|
|
}
|