Skip to content

Commit 00d3aa1

Browse files
committed
Move profile::git_webhook into seperate module pe_code_manager_webhook
Prior to this commit the functionality to setup the either code manager or zack/r10k was tightly coupled to this control-repo. In an effort to make that functionality useful to more people we're splitting it into a dedicated module. After this commit, the pe_code_manager_webhook module will contain all logic around setting up the webhook while this control-repo will still gloss over the details needed to get everything in PE setup correctly to use that module. This commit removes the files associated with the profile including some custom functions that were only there to make it work. This commit removes the all_in_one_pe_2015_2 role as it was exactly the same as the all_in_one_pe role. This commit modifies all_in_one_pe to use the pe_code_manager_webhook module instead of the profile.
1 parent d250d97 commit 00d3aa1

File tree

9 files changed

+5
-282
lines changed

9 files changed

+5
-282
lines changed

Puppetfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ mod 'r10k',
2828
:git => 'https://github.com/acidprime/r10k',
2929
:tag => 'v3.1.1'
3030

31+
mod 'pe_code_manager_webhook',
32+
:git => 'https://github.com/npwalker/pe_code_manager_webhook',
33+
:ref => '20d9f2e274325edaa10d8ec3b4f98a62ad726335'
34+
3135
mod 'gms',
3236
:git => 'https://github.com/npwalker/abrader-gms',
3337
:branch => 'gitlab_disable_ssl_verify_support'

site/no_fail_file/lib/puppet/parser/functions/no_fail_file.rb

Lines changed: 0 additions & 36 deletions
This file was deleted.

site/profile/manifests/git_webhook.pp

Lines changed: 0 additions & 12 deletions
This file was deleted.

site/profile/manifests/git_webhook/code_manager.pp

Lines changed: 0 additions & 150 deletions
This file was deleted.

site/profile/manifests/git_webhook/zack_r10k_webhook.pp

Lines changed: 0 additions & 58 deletions
This file was deleted.

site/profile/manifests/git_webhook/zack_r10k_webhook_disable.pp

Lines changed: 0 additions & 14 deletions
This file was deleted.

site/puppet_master_classifer_settings_function/lib/puppet/parser/functions/puppet_master_classifer_settings.rb

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class role::all_in_one_pe {
22

33
include profile::puppetmaster
4-
include profile::git_webhook
4+
include pe_code_manager_webhook
55

66
}

site/role/manifests/all_in_one_pe_2015_2.pp

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)