[Labs-l] Problems when setting up an instance of Wikidata

Daniel Zahn dzahn at wikimedia.org
Sun Apr 22 11:42:54 UTC 2012


On Wed, Apr 18, 2012 at 2:33 AM, Daniel Kinzler <daniel at brightbyte.de> wrote:

> How reviews this, how long does it take? Is there a way to test the scripts
> before getting them reviewed? It's kind of annoying to submit blindly, only to
> discover a tiny mistake on the first run...

Anybody with a Labs account can also review in gerrit, either just
(inline) comments or voting it up or down (+/- 1). Additionally there
is "+2" which is the actual merge.
There are tools like http://puppet-lint.com/ and others you could use
locally to check before sending to gerrit. You can also "amend" fixes
to an existing change while it is in review, and have it merged after
the fix.
Admittedly getting reviews in gerrit may sometimes take a while.

> I'm a bit confused... how would I define such a group in the git repo, so i'd be
> able to use it here? Do i have to know the exact name? No list to choose from?
> How do I find out which groups are available in the test repo?

"group" is the term in Labsconsole for a group of puppet classes
applied to an instance. There is a list of them in "Manage Puppet
Groups".

To know about all existing puppet classes in the repo (that may not be
in the group list above yet), you look at all the .pp files in
./manifests/ in git for classes.
You define a new one by writing a new class, adding one to an existing
file or creating your own new .pp file and committing it, then sending
it for review. Classes that have been accepted can then be added to
the puppet group list in labsconsole (by admins), and you can then
apply it to your instance(s).


>> "MariaDB" classes as an alternative.

i have these 3 applied on my instance via "configure" and use it
exactly like mysql (not doing anything fancy though either)

 misc::mariadb::client
 misc::mariadb::repository
 misc::mariadb::server

This is a "binary drop-in replacement for mysql" .
http://kb.askmonty.org/en/mariadb-versus-mysql   with some more
features  http://kb.askmonty.org/en/mariadb-versus-mysql-features
and "a community-developed branch of the MySQL database, the impetus
being the community maintenance of its free status under the GNU GPL,
as opposed to any uncertainty of MySQL license status under its
current ownership by Oracle."   http://en.wikipedia.org/wiki/MariaDB

> I added "generic::mysql::server" as a class under the global
> "database" puppet group, so it's available for use.
>
> - Ryan

Well now there is that too, cool! , but Ryan, no preference for Maria
in Labs any longer?

Best regards,

-- 
--
Daniel Zahn <dzahn at wikimedia.org>



More information about the Labs-l mailing list