Faidon Liambotis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/106701
Change subject: librenms: install SSL certificate & enable vhost
......................................................................
librenms: install SSL certificate & enable vhost
Change-Id: I5767b0e20df566bf1a58549f47eed3ab77dc9634
---
M manifests/role/librenms.pp
1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/01/106701/1
diff --git a/manifests/role/librenms.pp b/manifests/role/librenms.pp
index d096961..a0d13ef 100644
--- a/manifests/role/librenms.pp
+++ b/manifests/role/librenms.pp
@@ -49,18 +49,22 @@
config => $config,
}
+ install_certificate { $hostname: }
+
@webserver::apache::module { 'php5': }
@webserver::apache::site { $hostname,
aliases => [ 'observium.wikimedia.org' ],
docroot => $install_dir,
+ ssl => 'redirected',
require => [
Webserver::Apache::Module['php5'],
+ Install_certificate[$hostname],
Class['librenms'],
],
}
monitor_service { 'librenms':
description => 'HTTP',
- check_command => "check_http_url!${hostname}!http://${hostname}",
+ check_command => "check_https_url!${hostname}!http://${hostname}",
}
}
--
To view, visit https://gerrit.wikimedia.org/r/106701
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5767b0e20df566bf1a58549f47eed3ab77dc9634
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits