Page MenuHomeSoftware Heritage

Bootstrap elastic worker node and extra work
ClosedPublic

Authored by ardumont on Apr 20 2022, 12:11 PM.

Details

Summary

import-puppet-module: Make script more resilient when failure occurs

  • New repository can use other branch name than 'master', so now we can provide that

name (e.g. 'main')

  • When issues happen when importing the repository for the first time, it becomes

difficult to try again without having to tamper with the forge. So this now allows to
pass along flags to make multiple calls eventually work without having to do everything
from scratch [1]

[1] Example call:

python bin/import-puppet-module \
  --default-branch main \
  --repo-id 257 \
  --no-clone \
  puppetlabs-zfs_core
  • Finally, Add the puppetlabs/zfs_core module

Related to T4144
Related to D7600

Test Plan

D7600's test plan

Diff Detail

Repository
rSENV Puppet Environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.