Skip to content

Commit

Permalink
Initial versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stjeanp committed Nov 22, 2014
1 parent c0b881d commit 6e1eb1b
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Puppetfile
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'
6 changes: 6 additions & 0 deletions README.md
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.
3 changes: 3 additions & 0 deletions environment.conf
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
1 change: 1 addition & 0 deletions hiera/defaults.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
---
43 changes: 43 additions & 0 deletions manifests/site.pp
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': }
}

0 comments on commit 6e1eb1b

Please sign in to comment.