Page MenuHomePhabricator

`labs-vagrant roles help` doesn't work
Closed, DeclinedPublic

Description

My new labs-vagrant instance shows

Help for enabled roles

(run vagrant roles help in the directory where you installed MediaWiki-Vagrant to get help about enabling roles)

But labs-vagrant roles help doesn't work, it just prints a usage message.

I would love to get more info about available roles, I have no idea what e.g. the commons role does. If "roles help" command can't be implemented. can't be done, then at least Help:Labs-vagrant should tell me where the code for roles is so I can read their source.

Event Timeline

Spage raised the priority of this task from to Needs Triage.
Spage updated the task description. (Show Details)
Spage added a project: Labs-Vagrant.
Spage added a subscriber: Spage.

In labs-vagrant, the command to see the list of available roles is labs-vagrant list-roles.

Not an excuse but an explanation: currently labs-vagrant is a partial re-implementation of the functionality provided by the custom Vagrant plugin provided by MediaWiki-Vagrant. It also for better or worse (worse actually) implements the cli interface of an older version of the plugin.

The content placed on the wiki page is not customized for labs-vagrant. I'm hoping at some point in the not-too-distant future to complete T90892 which will actually deprecate the current labs-vagrant functionality and replace it with a Puppet role for labs hosts that provisions using a full Vagrant environment. This will erase most of the differences between MediaWiki-Vagrant and labs-vagrant.

Spage renamed this task from `labs-vagrant info` doesn't work to `labs-vagrant roles help` doesn't work.May 12 2015, 10:05 PM
Spage set Security to None.

In labs-vagrant, the command to see the list of available roles is labs-vagrant list-roles.

Yeah, I mistitled the bug.

I ran vagrant roles info | less -r on my local PC to see what the roles do.

Help:Labs-vagrant should tell me where the code for roles is so I can read their source.

roles help seems to show the first comment block in the manifest, so head -3 /vagrant/puppet/modules/role/manifests/*.pp is a basic replacement for it. I added this to Help:Labs-vagrant

bd808 claimed this task.

The old labs-vagrant system is now deprecated. The new vagrant-lxc based system provides complete access to the MediaWiki-Vagrant plugin commands on a Labs instance.