Parametrizable formulas is a normal salt module plus some metadata in order to interactively parametrize them. The metadata is used to automatically generate forms that are then injected as pillar data.
See original Hackweek project, SUSE Manager support for formulas blog article and its (internal for now) docs.
This project could be the next step/evolution of Imobach project and I may take this as the initial code.
The idea is to then create the formula for new employee machines as a Salt formula with a parametrizable form (login, password, Leap or Tumbleweed, laptop or workstation) and use it with AutoYaST bootable USB but keep it reusable for mass deployment with SUSE Manager.
The YaST module should allow to either select a formula from the installed ones, displaying the associated forms dynamically, or be called via AutoYAST with a predefined set of formulas, collect the data, and pass it to salt-call as pillar data.
Status
See a live video demo here.
Looking for hackers with the skills:
This project is part of:
Hack Week 15
Activity
Comments
-
over 7 years ago by joachimwerner | Reply
With graphical YaST it may be possible to re-use the existing ReactJS implementation in a web widget. Or some YAML to libui conversion of course ...
-
over 7 years ago by IGonzalezSosa | Reply
I've uploaded an screenshot showing the yast2-cm module in action using Salt formulas to get information from user: https://youtu.be/2em_R84XVYg
-
over 7 years ago by IGonzalezSosa | Reply
I've written a summary about the project in my blog: https://imobachgs.github.io/yast/2017/03/01/yast2-cm-gets-support-for-salt-parametrizable-formulas.html
Similar Projects
This project is one of its kind!