From 3149d9707f2882bdd4bc499a2bc65fb6dff36bf9 Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Fri, 30 Oct 2015 13:42:33 -0700 Subject: Refactor webhook profiles into one profile with a parameter Previously there was a mcollective and no_mcollective version of the webhook profile. They were almost identical so I merged them and manage the difference with a "use_mcollective" parameter. I renamed the webhook profile to zack_r10k_webhook. --- site/profile/manifests/webhook_no_mcollective.pp | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 site/profile/manifests/webhook_no_mcollective.pp (limited to 'site/profile/manifests/webhook_no_mcollective.pp') diff --git a/site/profile/manifests/webhook_no_mcollective.pp b/site/profile/manifests/webhook_no_mcollective.pp deleted file mode 100644 index dc7b1aa..0000000 --- a/site/profile/manifests/webhook_no_mcollective.pp +++ /dev/null @@ -1,20 +0,0 @@ -class profile::webhook_no_mcollective ( - $username, - $password -) { - - class {'r10k::webhook::config': - enable_ssl => true, - protected => true, - user => $username, - pass => $password, - use_mcollective => false, - } - - class {'r10k::webhook': - user => 'root', - group => '0', - require => Class['r10k::webhook::config'], - } - -} -- cgit v1.2.3