Skip to content

Commit

Permalink
docs(uyuni): add metadata and form yaml files
Browse files Browse the repository at this point in the history
Uyuni project (susemanager) has the ability to ingest salt-formulas but
in order to do this it requires a metadata folder with metadata.yml and
form.yml

see: https://www.uyuni-project.org/uyuni-docs/uyuni/salt/formulas-custom.html
  • Loading branch information
aboe76 committed Mar 10, 2021
1 parent 71fb3e1 commit 7a0dbdb
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
39 changes: 39 additions & 0 deletions metadata/form.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
chrony:
$type: namespace

ntpservers:
$type: edit-group
$minItems: 0
$prototype:
$type: text
$help: List of ntpservers
$optional: true
$default:
- '0.us.pool.ntp.org'
- '1.us.pool.ntp.org'
- '2.us.pool.ntp.org'
- '3.us.pool.ntp.org'

pool:
$type: edit-group
$minItems: 0
$prototype:
$type: text
$help: List of pools
$optional: true

allow:
$type: edit-group
$minItems: 0
$prototype:
$type: text
$help: List of allowed networks
$optional: true

otherparams:
$type: edit-group
$minItems: 0
$prototype:
$type: text
$help: chrony parameters like rtcsync
$optional: true
3 changes: 3 additions & 0 deletions metadata/metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
description:
Enable and configure chrony time daemon
group: general_system_configuration

0 comments on commit 7a0dbdb

Please sign in to comment.