diff options
author | mail_redacted_for_web | 2015-01-13 16:42:06 -0800 |
---|---|---|
committer | mail_redacted_for_web | 2015-01-13 16:42:06 -0800 |
commit | 4e2a2b81cf17909647728a0c9febab7ab0370e65 (patch) | |
tree | a7c704fd0f7eaa8b0e0ed55e10aa6b39575dc70e /manifests/site.pp | |
download | control-repo-template-4e2a2b81cf17909647728a0c9febab7ab0370e65.tar.bz2 |
Initial Commit
Stole Gary's puppet_repository and modified it for general
general consumption.
Upped the version of r10k to newest (1.4.1)
Ripped out the hiera examples just left defaults.yaml
Tweaked environment.conf
Diffstat (limited to 'manifests/site.pp')
-rw-r--r-- | manifests/site.pp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/manifests/site.pp b/manifests/site.pp new file mode 100644 index 0000000..d52e944 --- /dev/null +++ b/manifests/site.pp @@ -0,0 +1,44 @@ + +## 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 ## + +# PRIMARY FILEBUCKET +# This configures puppet agent and puppet inspect to back up file contents when +# they run. The Puppet Enterprise console needs this to display file contents +# and differences. + +# Define filebucket 'main': +filebucket { 'main': + #server should point to one master that will be the file bucket + server => 'changeme', + path => false, +} + +# Make filebucket 'main' the default backup location for all File resources: +File { backup => 'main' } + +# 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': } +} |