Revision 06bc94b2
Added by Greg Sutcliffe about 12 years ago
templates/server/post-receive.erb | ||
---|---|---|
require 'fileutils'
|
||
|
||
# Set this to where you want to keep your environments
|
||
ENVIRONMENT_BASEDIR = "<%= scope.lookupvar("puppet::params::envs_dir") %>"
|
||
ENVIRONMENT_BASEDIR = "<%= scope.lookupvar("puppet::server::envs_dir") %>"
|
||
|
||
# post-receive hooks set GIT_DIR to the current repository. If you want to
|
||
# clone from a non-local repository, set this to the URL of the repository,
|
Also available in: Unified diff
Fix parameter names for new parameterized server class