Project

General

Profile

TemplateWriting » History » Version 1

Justin Sherrill, 02/01/2011 12:36 PM

1 1 Justin Sherrill
h1. Templates
2
3
4
5
6
7
Functions:
8
9
|_.Name|_.Description|_.Example|
10
|root_pass  |The root password configured for the system| |
11
|ks_console | | |
12
|snippets|  | | |
13
|foreman_url(kind)| Provides the full URL to   | |
14
15
16
|_.Name|_.Description|_.Example|
17
|@host                |The name of the host| |
18
|@host.name                |The name of the host| |
19
|@host.diskLayout     |The disklayout of the host (could come from the operating system)| |
20
|@host.puppetmaster   |The puppetmaster the host should use | |
21
|@host.architecture   |The arch of the host (i.e. x86_64)| |
22
|@host.operatingsystem|The operating system name| |
23
|@host.operatingsystem.media_url |||
24
|@host.operatingsystem.major |The major version of the OS||
25
|@host.operatingsystem.minor |The minor version of the OS||
26
|@host.operatingsystem.family |The OS Family (I.e. redhat, debian, etc.)||
27
|@host.operatingsystem.kernel(arch) |The initrd path||
28
|@host.operatingsystem.initrd(arch) |The kernel path||
29
|@host.url_for_boot(:kernel) |||
30
|@host.url_for_boot(:initrd) |||
31
32
33
34
Kickstart only variables:
35
|_.Name|_.Description|_.Example|
36
|@dynamic |||
37
|@osver |||
38
|@arch |||
39
|@mediapath |||
40
|@epel |||
41
|@yumrepo |||
42
|@static |||
43
44
Preseed attributes:
45
|_.Name|_.Description|_.Example|
46
|@preseed_path |||
47
|@preseed_server |||