Skip to content

Instantly share code, notes, and snippets.

View torrancew's full-sized avatar

Tray torrancew

  • San Francisco, CA
View GitHub Profile
class puppet::configure ($puppet_type = 'agent', $environment = 'production', $confdir = '/etc/puppet',
$logdir = '/var/log/puppet', $vardir = '/var/lib/puppet',
$rundir = '/var/run/puppet', $ssldir = '/var/lib/puppet/ssl',
$storeconfigs = false, $dbadapter = undef, $dbconnections = 3,
$dbserver = undef, $dbname = puppet, $dbuser = puppet, $dbpassword = puppet) {
include puppet::install
$environment_list = [ 'development', 'testing', 'production' ]
#####################################
### Set up the deploy environment ###
#####################################
# Define the name of the "application" we're deploying
set :application, 'puppet-modules'
# Define the VCS platform
set :scm, :git
set :repository, 'git@git.company.org:puppet-modules'