Project

General

Profile

« Previous | Next » 

Revision cbe2b829

Added by Guido Günther over 10 years ago

Allow to set git branch to puppet env map

The post receive hook already supports this but it's not configurable
yet.

View differences:

manifests/server/config.pp
require => File[$puppet::server_envs_dir],
}
$git_branch_map = $puppet::server_git_branch_map
# git post hook to auto generate an environment per branch
file { "${puppet::server_git_repo_path}/hooks/${puppet::server_post_hook_name}":
content => template($puppet::server_post_hook_content),

Also available in: Unified diff