<div dir="ltr"><div>Ruby codes in puppet-openstack repos are used for the following three purposes.</div><div> 1. unit tests and acceptance tests using serverspec framework (files placed under spec)<br></div><div> 2. implementation of custom type, provider, and function<br></div><div> 3. template files (We use ERB instead of pure Ruby about this, though)</div><div><br></div><div>1 is supposed to be used only for testing during deployment but 2 and 3 can be used</div><div>in any production use case in combination with puppet manifest files to manage</div><div>OpenStack deployments.<br></div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 27, 2021 at 5:01 AM Bessghaier, Narjes <<a href="mailto:narjes.bessghaier.1@ens.etsmtl.ca">narjes.bessghaier.1@ens.etsmtl.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div style="color:rgb(33,33,33);background-color:rgb(255,255,255)"><br>
</div>
<div id="gmail-m_6555648353190250216ms-outlook-mobile-signature" dir="auto" style="text-align:left">
<div dir="auto" style="text-align:left">Dear OpenStack team,</div>
<div dir="auto" style="text-align:left"><br>
</div>
<div dir="auto" style="text-align:left">My name is Narjes and I'm a PhD student at the University of Montréal, Canada. </div>
<div dir="auto" style="text-align:left"><br>
</div>
<div dir="auto" style="text-align:left"> My current work consists of analyzing code reviews on the puppet modules. I would like to precisely know what the ruby files are used for in the puppet modules. As mentioned in the official website, most of unit test
 are written in ruby. Are ruby files destined to carry out units tests or destined for production code.</div>
<div dir="auto" style="text-align:left"><br>
</div>
<div dir="auto" style="text-align:left">I appreciate your help,</div>
<div dir="auto" style="text-align:left">Thank you</div>
</div>
</div>

</blockquote></div></div>