-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# The URL of the forge we're going to use | ||
forge "http://forge.puppetlabs.com" | ||
|
||
# Modules from the Puppet Forge | ||
# | ||
# Example: | ||
# mod "puppetlabs/apache", "1.2.0" | ||
|
||
# Modules from our local git server | ||
# | ||
# Example: | ||
# mod 'something', | ||
# :git => 'gituser@gitserver:/path/to/repo.git', | ||
# :commit => 'commit hash' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
empty_r10k - An empty, preconfigured r10k | ||
========== | ||
|
||
##Overview | ||
|
||
This is a preconfigured repository that has an empty production environment so that you can get started with r10k. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
modulepath = modules:$basemodulepath | ||
config_version = '/usr/bin/git --git-dir $confdir/environments/$environment/.git rev-parse HEAD' | ||
environment_timeout = 3m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
## 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 => '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': } | ||
} |