Page MenuHomePhabricator

Refactor `mediawiki::scap` to make sure Scap dependencies are not dependent on mediawiki
Closed, ResolvedPublic

Description

Currently the mediawiki::scap class is where scap's python dependencies live: python-netifaces and python-psutil Since Scap3 will be installed on non-MediaWiki boxes, it makes sense to put these dependencies somewhere under the scap module in ops/puppet.

Event Timeline

thcipriani raised the priority of this task from to Needs Triage.
thcipriani updated the task description. (Show Details)
thcipriani added projects: Scap, Deployments.
thcipriani triaged this task as Medium priority.Nov 6 2015, 6:45 PM
thcipriani moved this task from Needs triage to Services MVP on the Scap board.

My suggestion would be to re-think the whole separation between scap and mediawiki in puppet. It's definitely too late for me tackling this now but I guess I can make a try on monday :)

Joe set Security to None.

Change 252362 had a related patch set uploaded (by Thcipriani):
Move scap-specific items out of mediawiki class

https://gerrit.wikimedia.org/r/252362

Patch above is some work that I had ~80% complete before this task moved to in-progress. @Joe, feel free to ditch that code, I just wanted to get something I could build on top of to un-hack some stuff on beta.

@thcipriani the patch is mostly ok as is, sorry for not working on this last week, but it has been some week unluckily :/

I'll amend a couple details but it seems overall nice.

Change 252362 merged by Giuseppe Lavagetto:
Move scap-specific items out of mediawiki class

https://gerrit.wikimedia.org/r/252362

thcipriani moved this task from Services MVP to Done on the Scap board.