Dzahn has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/389957 )
Change subject: wikibase: include apache class vs declaring it
......................................................................
wikibase: include apache class vs declaring it
Unfortunately this only works when the profile is applied
on a node that doesn't have other profiles using ::apache as well.
It will "add" a style violation but so far this has not been used
in prod and in labs it's a dedicated node.
So i will have to override jenkins-bot on this one (until we
have a general solution for all the ::apache includes, converting
apache module to defined types.
Bug: T99531
Change-Id: I35613fb66861b4f338e5f3470bccc49afb594d58
---
M modules/profile/manifests/microsites/wikibase.pp
1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/57/389957/1
diff --git a/modules/profile/manifests/microsites/wikibase.pp
b/modules/profile/manifests/microsites/wikibase.pp
index 9f6c8c5..aeabda1 100644
--- a/modules/profile/manifests/microsites/wikibase.pp
+++ b/modules/profile/manifests/microsites/wikibase.pp
@@ -5,15 +5,14 @@
) {
include ::base::firewall
+ include ::apache
+ include ::apache::mod::headers
ferm::service { 'wikibase_http':
proto => 'tcp',
port => '80',
srange => '$CACHE_MISC',
}
-
- class { '::apache': }
- class { '::apache::mod::headers': }
apache::site { 'wikiba.se':
content => template('profile/wikibase/apache-wikibase.erb'),
--
To view, visit https://gerrit.wikimedia.org/r/389957
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I35613fb66861b4f338e5f3470bccc49afb594d58
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits