Puppet openstack modules

Takashi Kajinami tkajinam at redhat.com
Sat Feb 27 15:06:09 UTC 2021

Ruby codes in puppet-openstack repos are used for the following three
 1. unit tests and acceptance tests using serverspec framework (files
placed under spec)
 2. implementation of custom type, provider, and function
 3. template files (We use ERB instead of pure Ruby about this, though)

1 is supposed to be used only for testing during deployment but 2 and 3 can
be used
in any production use case in combination with puppet manifest files to
OpenStack deployments.

On Sat, Feb 27, 2021 at 5:01 AM Bessghaier, Narjes <
narjes.bessghaier.1 at ens.etsmtl.ca> wrote:

> Dear OpenStack team,
> My name is Narjes and I'm a PhD student at the University of Montréal,
> Canada.
>  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.
> I appreciate your help,
> Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210228/a5aa9d5b/attachment.html>

More information about the openstack-discuss mailing list