https://bugzilla.wikimedia.org/show_bug.cgi?id=71901

Gilles Dubuc <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Gilles Dubuc <[email protected]> ---
The Scribunto role is definitely installed first:

==> default: Notice:
/Stage[main]/Role::Scribunto/Mediawiki::Extension[Scribunto]/Mediawiki::Settings[Scribunto]/File[/vagrant/settings.d/puppet-managed/10-Scribunto.php]/ensure:
created
==> default: Info: Mediawiki::Extension[Scribunto]: Scheduling refresh of
Service[apache2]
==> default: Notice:
/Stage[main]/Role::Gwtoolset/Mediawiki::Extension[GWToolset]/Mediawiki::Settings[GWToolset]/File[/vagrant/settings.d/puppet-managed/10-GWToolset.php]/ensure:
created
==> default: Notice:
/Stage[main]/Role::Gwtoolset/Php::Ini[GWToolset]/File[/etc/php5/mods-available/_gwtoolset.ini]/ensure:
defined content as '{md5}ee2d19b020f6a7600b5192436ae03b4d'
==> default: Info:
/Stage[main]/Role::Gwtoolset/Php::Ini[GWToolset]/File[/etc/php5/mods-available/_gwtoolset.ini]:
Scheduling refresh of Service[apache2]
==> default: Info:
/Stage[main]/Role::Gwtoolset/Php::Ini[GWToolset]/File[/etc/php5/mods-available/_gwtoolset.ini]:
Scheduling refresh of Exec[/usr/sbin/php5enmod -s ALL _gwtoolset]
==> default: Notice:
/Stage[main]/Role::Gwtoolset/Php::Ini[GWToolset]/Exec[/usr/sbin/php5enmod -s
ALL _gwtoolset]: Triggered 'refresh' from 1 events
==> default: Notice:
/Stage[main]/Role::Gwtoolset/Mediawiki::Import_dump[template_de]/Exec[import_dump_template_de]/returns:
[1ce8dfae] [no req]   Exception from line 220 of
/vagrant/mediawiki/extensions/Scribunto/engines/LuaSandbox/Engine.php: The
luasandbox extension is not present, this engine cannot be used.

It's definitely not an issue of not requiring that role, it's a problem with
the freshly installed php extension being unavailable. 

Maybe mwscript uses the http server to process the request? In which case a
workaround might be (if there's a way to do that) to reload the http server
after the php extension is installed. The server reload happens at the end of
the provision session. If that's the requirement that would explain why doing
it in two steps (first provision a role that installed the lua stuff, then
provision a role that imports the templates) works.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to