[QA] Adding new roles to targets in deployment-prep

Marko Obrovac mobrovac at wikimedia.org
Thu Nov 10 14:25:46 UTC 2016


This did the trick! Thank you Alex!

Is there a more elegant way of doing this that bypasses stuffing
ops/puppet's hieradata/ dir?

Cheers,
Marko


On 10 November 2016 at 14:26, Alex Monk <amonk at wikimedia.org> wrote:

> Use the hiera 'classes' key. I don't think it has a 'hiera_' prefix but am
> not able to check right now
>
> On 10 Nov 2016 12:01 pm, "Marko Obrovac" <mobrovac at wikimedia.org> wrote:
>
>> Hello,
>>
>> Recently, Puppet configuration has been switched from Wikitech to
>> Horizon, and now I am not able to apply arbitrary roles to targets in
>> deployment-prep. Concretely, I want to test a new service there before
>> production. I cherry-picked my patch~[1] onto deployment-puppetmaster02 and
>> added the role I want to apply to the target node to Hiera~[2]. However,
>> the role has not been applied to deployment-pdfrender02 nor do I see the
>> role in Horizon's Puppet configuration list. What should I do? Is this
>> documented somewhere?
>>
>> Cheers,
>> Marko
>>
>> [1] https://gerrit.wikimedia.org/r/#/c/305256/
>> [2] https://gerrit.wikimedia.org/r/#/c/305256/10/hieradata/l
>> abs/deployment-prep/host/deployment-pdfrender02.yaml
>>
>> --
>> Marko Obrovac, PhD
>> Senior Services Engineer
>> Wikimedia Foundation
>>
>> _______________________________________________
>> QA mailing list
>> QA at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/qa
>>
>>


-- 
Marko Obrovac, PhD
Senior Services Engineer
Wikimedia Foundation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/qa/attachments/20161110/3dd3e093/attachment.html>


More information about the QA mailing list