Ah!

So lots of roles use submodules in the mediawiki code - but what you mean is that the _vagrant_ code needs a submodule.

The "best" citizen thing to do would be to try to make the error message better. Something like "Could not find declared class ..... Try running git submodule update --init --recursive in the root of the vagrant checkout!" would have made this

On Mon, Jun 29, 2015 at 12:54 PM, Erik Bernhardson <ebernhardson@wikimedia.org> wrote:
replied on irc, but i'll add here too so others running into issue can fix:

The analytics role uses a couple submodules, init them in the vagrant repository with:

    git submodule update --init --recursive

On Mon, Jun 29, 2015 at 9:18 AM, James Douglas <jdouglas@wikimedia.org> wrote:
I'm having trouble enabling the analytics role on vagrant.  Does this mean anything to anyone?

==> default: Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class ::cdh::hadoop at
                     /vagrant/puppet/modules/role/
manifests/hadoop.pp:45 on node mediawiki-vagrant.dev

I even tried vagrant destroying, and starting from scratch.  It seems like maybe I need to apt-get install something Hadoop related, but my Google-fu isn't helping.

_______________________________________________
Wikimedia-search mailing list
Wikimedia-search@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimedia-search



_______________________________________________
Wikimedia-search mailing list
Wikimedia-search@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimedia-search