Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-1084

Puppet module for StoRM services

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None
    • Security Level: Public (Visbile by non-authn users.)
    • None

      This story tracks the porting of the YAIM configuration module to puppet. The module will assume a CENTOS 7 deployment for services. The module if possible shouldn't have any dependency on YAIM code.

      The module MUST follow best practices and guidelines for puppet, MUST include unit testing and pass linting checks.

      Puppet style guide:

      https://puppet.com/docs/puppet/5.3/style_guide.html

      Puppet lint tool:

      http://puppet-lint.com/

      SonarQube has a puppet plugin which can also help:

      https://github.com/iwarapter/sonar-puppet

      And is already used for argus-authz puppet module:

      https://sonar.cloud.cnaf.infn.it/overview?id=argus-mw-devel

       Some more resources (probably a bit old):

      https://puppet.com/blog/writing-great-modules-an-introduction

      https://puppet.com/blog/verifying-puppet-checking-syntax-and-writing-automated-tests

      https://puppet.com/blog/test-driven-development-puppet

      Check also the puppet development kit:

      https://puppet.com/docs/pdk/1.x/pdk.html  

      https://puppet.com/blog/unit-testing-rspec-puppet-for-beginners

      A talk giving an introduction on puppet module testing:

      https://www.youtube.com/watch?v=GgNrxLfoDF8 

       

       

       

            Unassigned Unassigned
            aceccant Andrea Ceccanti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: