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.

SUSE Manager formulas

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.

Screenshot

Looking for mad skills in:

yast salt saltstack susemanager

This project is part of:

Hack Week 15

Activity Show All

  • 3 months ago: dmacvicar joined YaST module for (SUSE Manager) salt parametrizable formulas
  • 3 months ago: IGonzalezSosa started YaST module for (SUSE Manager) salt parametrizable formulas
  • 3 months ago: joachimwerner liked YaST module for (SUSE Manager) salt parametrizable formulas
  • 3 months ago: dmolkentin liked YaST module for (SUSE Manager) salt parametrizable formulas
  • 3 months ago: ZRen liked YaST module for (SUSE Manager) salt parametrizable formulas
  • Comments

    • joachimwerner
      3 months 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 ...

    • dmacvicar
      3 months ago by dmacvicar | Reply

      The current prototype does dynamically generate the YCP/YasT UI tree from yaml. Still some technical issues to solve (eg. Scrolling).

    • IGonzalezSosa
      3 months 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

    • IGonzalezSosa
      3 months 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