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

Shujen Chang i at blue.cat
Tue Apr 24 13:27:33 UTC 2012


I have a problem on installing mysql via Puppet too,
I checked generic::mysql::server, and when I ran "sudo puppetd -tv", it is
said:
info: Loading facts in projectgid
info: Loading facts in default_gateway
info: Loading facts in projectgid
info: Loading facts in default_gateway
Could not retrieve project_gid: private method `chomp' called for
nil:NilClass
Could not retrieve project_gid: private method `chomp' called for
nil:NilClass
Could not retrieve project_gid: private method `chomp' called for
nil:NilClass
Could not retrieve project_gid: private method `chomp' called for
nil:NilClass
Could not retrieve project_gid: private method `chomp' called for
nil:NilClass
Could not retrieve project_gid: private method `chomp' called for
nil:NilClass
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find class generic::mysql::server for i-0000021c.pmtpa.wmflabs on
node i-0000021c.pmtpa.wmflabs
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

On Tue, Apr 18, 2012 at 1:09 AM, Ryan Lane
<rlane32 at gmail.com<benapetr at gmail.com>
> wrote:

> >> Hm. Trying that gives me:
>
> >>
>
> >> "There are problems with some of your input. Bad resource name provided.
>
> >> Resource names start with a-z, and can only contain a-z, 0-9, -, and _
>> characters."
>
> >>
>
> >> So... what do I put there? I guess it should be a group name, not a
>> class name?
>
> >> Where do I find the group names?
>
> >>
>
> >
>
> > Ok, that's definitely a bug, added to bugzilla to track:
>
> > https://bugzilla.wikimedia.org/show_bug.cgi?id=36044
>
> >
>
>
>> So, I just went to fix this and it's not a bug... Did you try to add
>
> the classname as the group name?
>
>
>> I need to add some documentation on puppet groups. A puppet group is a
>
> collection of puppet classes and variables. Basically, it's a way to
>
> organize what's shown in the "configure" interface. If you wanted to
>
> add "generic::mysql::server" to your project, you'd create a
>
> "database" group, then add "generic::mysql::server" as a class under
>
> that group.
>
>
>> I added "generic::mysql::server" as a class under the global
>
> "database" puppet group, so it's available for use.
>
>
>> - Ryan
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20120424/78d2f887/attachment.html>


More information about the Labs-l mailing list