Project

General

Profile

TemplateWriting » History » Version 3

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

1 1 Justin Sherrill
h1. Templates
2
3
4
5
6
7 2 Justin Sherrill
h2. Functions:
8 1 Justin Sherrill
9
|_.Name|_.Description|_.Example|
10
|root_pass  |The root password configured for the system| |
11
|ks_console | | |
12 3 Justin Sherrill
|snippets   | | |
13 1 Justin Sherrill
|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.url_for_boot(:kernel) |||
28
|@host.url_for_boot(:initrd) |||
29
30
31
32 2 Justin Sherrill
h2. Kickstart only variables:
33
34 1 Justin Sherrill
|_.Name|_.Description|_.Example|
35
|@dynamic |||
36
|@osver |||
37
|@arch |||
38
|@mediapath |||
39
|@epel |||
40
|@yumrepo |||
41
|@static |||
42
43 2 Justin Sherrill
h3. Preseed attributes:
44 1 Justin Sherrill
|_.Name|_.Description|_.Example|
45
|@preseed_path |||
46
|@preseed_server |||