<div dir="ltr">We (me and Sean) merged the PR and did the changes needed to fix some side effects.<div><br></div><div>I am sending this to inform that all Puppet stuff was dropped and that we are good without it.</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 3, 2017 at 5:00 PM, Elyezer Rezende <span dir="ltr"><<a href="mailto:erezende@redhat.com" target="_blank">erezende@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I went ahead and created this PR [1] it is covering installing the base packages like gcc, git, etc.<div><br></div><div>[1] <a href="https://github.com/pulp/pulp_packaging/pull/270" target="_blank">https://github.com/pulp/<wbr>pulp_packaging/pull/270</a></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 3, 2017 at 4:33 PM, Elyezer Rezende <span dir="ltr"><<a href="mailto:erezende@redhat.com" target="_blank">erezende@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It also seems that we can remove the ci/deploy [1] directory entirely. I tried to find a place where any of those scripts were called and at least on the jobs they are not being called. I used git grep to help me with that so I may be missing something.<div><br></div><div>[1] <a href="https://github.com/pulp/pulp_packaging/tree/master/ci/deploy" target="_blank">https://github.com/pulp/pu<wbr>lp_packaging/tree/master/ci/de<wbr>ploy</a></div></div><div class="m_-6666074427474308727HOEnZb"><div class="m_-6666074427474308727h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 3, 2017 at 4:28 PM, Elyezer Rezende <span dir="ltr"><<a href="mailto:erezende@redhat.com" target="_blank">erezende@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The only puppet apply is for the pulp-unittest [1] puppet module. Looking on its source code it seems to be just setting up some packages depending on the slave OS.<div><br></div><div>We can either install them on the prepare_node.sh or create an ansible playbook for it. Or even have both, for example I think it is valuable to have on the base nodes the following packages:</div><div><br></div><div>* git</div><div>* gcc</div><div>* python-devel</div><div>* python-pip</div><div>* redhat-lsb</div><div>* wget</div><div>* ruby-devel (not sure about this one, but can be needed)</div><div><div><br></div><div>Other packages like:</div><div><br></div><div>* tito</div><div>* rpm-build</div><div>* python-{paste,lxml,argparse,..<wbr>}</div><div>* mongodb</div><div>* qpid</div><div><br></div><div>Can be installed as needed by the jobs.</div><div><br></div><div>I will wait for opinions before I make a plan to get this done.</div><div><br></div><div>[1] <a href="https://github.com/pulp/pulp_packaging/blob/master/ci/deploy/utils/puppet/pulp-unittest.pp" target="_blank">https://github.com/pulp/pu<wbr>lp_packaging/blob/master/ci/de<wbr>ploy/utils/puppet/pulp-unittes<wbr>t.pp</a></div></div></div><div class="m_-6666074427474308727m_4978181767776538624HOEnZb"><div class="m_-6666074427474308727m_4978181767776538624h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 3, 2017 at 2:35 PM, Brian Bouterse <span dir="ltr"><<a href="mailto:bbouters@redhat.com" target="_blank">bbouters@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>+1 to pulling out puppet to unblock the builds.<br>+1 to replacing any puppet usage with Ansible, which is consistent with the current direction[0].<br><br></div>After digging around in git some, it looks like those puppet lines were originally added in 2015 with this commit[1]. That commit both installs puppet and runs some `puppet apply ...` statements, so pulling puppet out should be fine as long as those `puppet apply` statements get replaced with something else (either Ansible, or $ANOTHER_IDEA).<br><br></div>Thank you for raising this and whatever you can do on it.<br><div><br>[0]: <a href="https://www.redhat.com/archives/pulp-list/2016-November/msg00045.html" target="_blank">https://www.redhat.com/archive<wbr>s/pulp-list/2016-November/msg0<wbr>0045.html</a><br>[1]: <a href="https://github.com/pulp/pulp_packaging/commit/e1657129d04470b2c302a91051c821a2e7283a6f" target="_blank">https://github.com/pulp/pulp_p<wbr>ackaging/commit/e1657129d04470<wbr>b2c302a91051c821a2e7283a6f</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-6666074427474308727m_4978181767776538624m_-3607941807491917366h5">On Mon, Jan 2, 2017 at 9:58 AM, Elyezer Rezende <span dir="ltr"><<a href="mailto:erezende@redhat.com" target="_blank">erezende@redhat.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-6666074427474308727m_4978181767776538624m_-3607941807491917366h5"><div dir="ltr"><div>The prepare_node script is responsible to prepare the nodepool nodes we use on Jenkins. Other than installing basic packages and the machinery to make the node a Jenkins slave it installs puppet [1].</div><div><br></div><div>I am wondering why setting up puppet is needed since it seems to be related to the unittest jobs only. I am wondering that because there is no Puppet for Fedora 25 yet [2] and that is blocking us to have Fedora 25 nodes since they can't be built.</div><div><br></div><div>With all that said, I have some questions:</div><div><br></div><div>1) Can we drop puppet setup and let the jobs that need it to set it up?</div><div>2) Can we move away from Puppet to Ansible? If yes, what needs to be done to have that?</div><div><br></div><div>I am raising this up because I want to test Pulp ASAP on Fedora 25 and I don't know all the details about the Puppet need on the slaves.</div><div><br></div><div>Thank you</div><div><br></div><div>[1] <a href="https://github.com/pulp/pulp_packaging/blob/master/ci/nodepool/scripts/prepare_node.sh#L20-L54" target="_blank">https://github.com/pulp/pu<wbr>lp_packaging/blob/master/ci/no<wbr>depool/scripts/prepare_node.sh<wbr>#L20-L54</a></div>[2] <a href="https://yum.puppetlabs.com/" target="_blank">https://yum.puppetlabs.com<wbr>/</a><span class="m_-6666074427474308727m_4978181767776538624m_-3607941807491917366m_3280590629736629030HOEnZb"><font color="#888888"><div><div><br></div>-- <br><div class="m_-6666074427474308727m_4978181767776538624m_-3607941807491917366m_3280590629736629030m_17719836188149852gmail_signature"><div dir="ltr">Elyézer Rezende<div>Senior Quality Engineer<br><div>irc: elyezer</div></div></div></div>
</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-6666074427474308727m_4978181767776538624m_-3607941807491917366gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Elyézer Rezende<div>Senior Quality Engineer<br><div>irc: elyezer</div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-6666074427474308727m_4978181767776538624gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Elyézer Rezende<div>Senior Quality Engineer<br><div>irc: elyezer</div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-6666074427474308727gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Elyézer Rezende<div>Senior Quality Engineer<br><div>irc: elyezer</div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Elyézer Rezende<div>Senior Quality Engineer<br><div>irc: elyezer</div></div></div></div>
</div>