git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/site/profile/manifests/zack_r10k_webhook.pp
diff options
context:
space:
mode:
Diffstat (limited to 'site/profile/manifests/zack_r10k_webhook.pp')
-rw-r--r--site/profile/manifests/zack_r10k_webhook.pp29
1 files changed, 29 insertions, 0 deletions
diff --git a/site/profile/manifests/zack_r10k_webhook.pp b/site/profile/manifests/zack_r10k_webhook.pp
new file mode 100644
index 0000000..7e0bd40
--- /dev/null
+++ b/site/profile/manifests/zack_r10k_webhook.pp
@@ -0,0 +1,29 @@
+class profile::zack_r10k_webhook (
+ $username,
+ $password,
+ $use_mcollective = false,
+) {
+
+ if $use_mcollective {
+
+ class { 'r10k::mcollective':
+ notify => Service['mcollective'],
+ }
+
+ }
+
+ class {'r10k::webhook::config':
+ enable_ssl => true,
+ protected => true,
+ user => $username,
+ pass => $password,
+ use_mcollective => $use_mcollective,
+ }
+
+ class {'r10k::webhook':
+ user => 'root',
+ group => '0',
+ require => Class['r10k::webhook::config'],
+ }
+
+}
1-3/+12 | * Disable code manager webhook authenticationNick Walker 2015-12-091-0/+1 | * Allow code_manager profile to not error out on first runNick Walker 2015-12-092-4/+43 | * Refactor puppetmaster and zack_r10k_webhookNick Walker 2015-12-093-30/+12 | * Add support for code manager which will replace zack r10kNick Walker 2015-12-095-1/+90 | * Enable code manager via param in common.yamlNick Walker 2015-11-251-0/+2 | * Add custom functions for determining some PE settingsNick Walker 2015-11-252-0/+17 |/ * Merge pull request #3 from WhatsARanjit/productionGary Larizza 2015-11-252-13/+21 |\ | * Merged from upstreamRanjit Viswakumar 2015-11-2518-20/+468 | |\ | |/ |/| * | Merge pull request #4 from npwalker/merge_npwalker_control_repoGary Larizza 2015-11-2520-22/+470 |\ \ | * | Cleanup README to generalize urls and add notes about testingNick Walker 2015-11-241-5/+4 | * | Merge branch 'production' of https://github.com/npwalker/control-repo into me...Nick Walker 2015-11-2420-20/+469 |/| | | * | Change owner/group to pe-puppet for hiera moduleNick Walker 2015-11-171-2/+2 | * | fixing a bunch of puppet lint warningsNick Walker 2015-10-303-10/+10 | * | Refactor webhook profiles into one profile with a parameterNick Walker 2015-10-304-30/+24 | * | Change the zack/r10k webhook to utilize username and passwordNick Walker 2015-10-303-6/+24 | * | change puppetserver heap to 192mNick Walker 2015-10-291-1/+1 | * | switch to npwalker/abrader-gmsNick Walker 2015-10-291-2/+2 | * | enable SSL on the zack/r10k webhookNick Walker 2015-10-292-2/+2 | * | Add $::fqdn to post receive hook titleNick Walker 2015-10-281-3/+3 | * | remove environment_timeout =0 from environment.confNick Walker 2015-10-281-6/+0 | * | disable SSL on the zack/r10k webhookNick Walker 2015-10-282-2/+1 | * | enable ssl on the webhookNick Walker 2015-10-282-15/+17 | * | make environment timeout setting refresh the puppet master serviceNick Walker 2015-10-261-0/+1 | * | Fix the update-classes script and set appropriate perms on itNick Walker 2015-10-262-1/+2 | * | Fix some embarassing typosNick Walker 2015-10-262-2/+2 | * | Configure the MoM to update the classifier after deploying codeNick Walker 2015-10-264-0/+36 | * | add .gitignore to ignore my example hiera fileNick Walker 2015-10-221-0/+1 | * | Multiple fixes to the READMENick Walker 2015-10-221-12/+12 | * | fix incorrect curly braceNick Walker 2015-10-221-1/+1 | * | fix site.pp to not include a role that is emptyNick Walker 2015-10-221-1/+4 | * | Clean up the README so it works from top to bottomNick Walker 2015-10-211-42/+20 | * | fix whitespace