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

Alex Monk amonk at wikimedia.org
Thu Nov 10 15:01:09 UTC 2016


You can add the hiera data in horizon itself, below the role list. I don't
think we have a way of adding these to the role list yet

On 10 Nov 2016 2:25 pm, "Marko Obrovac" <mobrovac at wikimedia.org> wrote:

> 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/ecd8f367/attachment.html>


More information about the QA mailing list