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 hackers with the skills:

yast salt saltstack susemanager

This project is part of:

Hack Week 15

Activity

  • about 7 years ago: dmacvicar joined this project.
  • about 7 years ago: IGonzalezSosa started this project.
  • about 7 years ago: joachimwerner liked this project.
  • about 7 years ago: dmolkentin liked this project.
  • about 7 years ago: ZRen liked this project.
  • about 7 years ago: j_renner liked this project.
  • about 7 years ago: IGonzalezSosa liked this project.
  • about 7 years ago: dmacvicar added keyword "yast" to this project.
  • about 7 years ago: dmacvicar added keyword "salt" to this project.
  • about 7 years ago: dmacvicar added keyword "saltstack" to this project.
  • about 7 years ago: dmacvicar added keyword "susemanager" to this project.
  • about 7 years ago: dmacvicar originated this project.

  • Comments

    • joachimwerner
      about 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 ...

    • dmacvicar
      about 7 years 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
      about 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

      • mvidner
        over 5 years ago by mvidner | Reply

        clickable: https://youtu.be/2em_R84XVYg

    • IGonzalezSosa
      about 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