From 6686bfe155260604c1b4991b74ea3513e7128aea Mon Sep 17 00:00:00 2001
From: Adam Lewenberg <adamhl@stanford.edu>
Date: Tue, 30 Jul 2013 16:09:48 -0700
Subject: [PATCH] puppetclient: modify the db credentials file for frankoz-dev
 re-do

frankoz-dev is now frankoz1-dev and frankoz2-dev, so had to modify the
puppetclient db credentials class to account for this.
---
 manifests/puppetclient/db_credentials.pp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/manifests/puppetclient/db_credentials.pp b/manifests/puppetclient/db_credentials.pp
index f287c09..eaed446 100644
--- a/manifests/puppetclient/db_credentials.pp
+++ b/manifests/puppetclient/db_credentials.pp
@@ -14,10 +14,10 @@ class base::puppetclient::db_credentials {
   # This is where we put the db credentials.
   $puppet_db_ini_file = '/etc/puppet/puppet-db.ini'
 
-  if ($::hostname =~ /^(frankoz|jimhenson)-dev/) {
+  if ($::hostname =~ /^jimhenson-dev/) {
     $credentials_wallet_name = 'idg-puppet-dev-db-isat'
   }
-  elsif ($::hostname =~ /^frankoz1-test/) {
+  elsif ($::hostname =~ /^frankoz[12]-dev/) {
     $credentials_wallet_name = 'idg-puppet-dev-db-isat'
   }
   elsif ($::hostname =~ /^frankoz[12]/) {
-- 
GitLab