Revision 9f802d90
Added by Marek Hulán over 2 years ago
app/views/unattended/provisioning_templates/snippet/ntp.erb | ||
---|---|---|
name: ntp
|
||
model: ProvisioningTemplate
|
||
snippet: true
|
||
%>
|
||
<%#
|
||
This snippet accepts the following parameters:
|
||
- use-ntp: boolean (default depends on OS release)
|
||
- ntp-server: string (default=undef)
|
||
%>
|
||
|
||
description: |
|
||
The snippet configuring the system time using a given NTP server
|
||
It respects the following parameters:
|
||
- use-ntp: boolean (default depends on OS release)
|
||
- ntp-server: string (default=undef)
|
||
-%>
|
||
<%
|
||
rhel_compatible = @host.operatingsystem.family == 'Redhat' && @host.operatingsystem.name != 'Fedora'
|
||
is_fedora = @host.operatingsystem.name == 'Fedora'
|
Also available in: Unified diff
Fixes #33034 - add a description to all provisioning templates
This PR udpates all the templates metadata to provide at least minimal
description that is then stored in the DB and shown in the edit form.
Co-authored-by: Timo Goebel <mail@timogoebel.name>
Co-authored-by: Lukas Zapletal <lzap@redhat.com>