git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/site/profile/manifests/git_webhook.pp
blob: 12ef78607a8792dab524ee41d770e4c6dc20c539 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class profile::git_webhook (
  $force_zack_r10k_webhook = false
) {

  if versioncmp( $::pe_server_version, '2015.2.99' ) <= 0 or $force_zack_r10k_webhook {
    include profile::git_webhook::zack_r10k_webhook
  } else {
    include profile::git_webhook::code_manager
    include profile::git_webhook::zack_r10k_webhook_disable
  }

}