Page MenuHomeSoftware Heritage

Vagrantfile: Declare variables once then reuse to be more dry
ClosedPublic

Authored by ardumont on Oct 1 2020, 2:31 PM.

Details

Summary

I plan to add a new node for the deposit and i'd like to avoid having
to repeat again that setup.

It's probably possible to be even more terse but my ruby is kinda dusty ;)

Test Plan

vagrant up test (from a fresh start and it still works)

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.