ArielGlenn has submitted this change and it was merged.

Change subject: subversion role lint, pass svn hostname to cert check
......................................................................


subversion role lint, pass svn hostname to cert check

Change-Id: I27ab362127cf3bb0735670ead112731286fb3df9
---
M manifests/role/subversion.pp
1 file changed, 6 insertions(+), 3 deletions(-)

Approvals:
  ArielGlenn: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/role/subversion.pp b/manifests/role/subversion.pp
index 7625924..3c26c82 100644
--- a/manifests/role/subversion.pp
+++ b/manifests/role/subversion.pp
@@ -2,15 +2,18 @@
 
 class role::subversion {
 
-    system::role { 'role::subversion': description => 'public, read-only SVN 
server' }
+    system::role { 'role::subversion':
+        description => 'public, read-only SVN server'
+    }
+    $svnhost = 'svn.wikimedia.org'
 
     class { '::subversion':
-        host => 'svn.wikimedia.org',
+        host => $svnhost,
     }
 
     monitor_service { 'https':
         description   => 'HTTPS',
-        check_command => "check_ssl_cert!${host}"
+        check_command => "check_ssl_cert!${svnhost}",
     }
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/125944
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I27ab362127cf3bb0735670ead112731286fb3df9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to