Project

General

Profile

TemplateWriting » History » Revision 2

Revision 1 (Justin Sherrill, 02/01/2011 12:36 PM) → Revision 2/110 (Justin Sherrill, 02/01/2011 12:36 PM)

h1. Templates 





 h2. Functions: 

 |_.Name|_.Description|_.Example| 
 |root_pass    |The root password configured for the system| | 
 |ks_console | | | 
 |snippets|    | | | 
 |foreman_url(kind)| Provides the full URL to     | | 


 |_.Name|_.Description|_.Example| 
 |@host                  |The name of the host| | 
 |@host.name                  |The name of the host| | 
 |@host.diskLayout       |The disklayout of the host (could come from the operating system)| | 
 |@host.puppetmaster     |The puppetmaster the host should use | | 
 |@host.architecture     |The arch of the host (i.e. x86_64)| | 
 |@host.operatingsystem|The operating system name| | 
 |@host.operatingsystem.media_url ||| 
 |@host.operatingsystem.major |The major version of the OS|| 
 |@host.operatingsystem.minor |The minor version of the OS|| 
 |@host.operatingsystem.family |The OS Family (I.e. redhat, debian, etc.)|| 
 |@host.operatingsystem.kernel(arch) |The initrd path|| 
 |@host.operatingsystem.initrd(arch) |The kernel path|| 
 |@host.url_for_boot(:kernel) ||| 
 |@host.url_for_boot(:initrd) ||| 



 h2. Kickstart only variables: 

 
 |_.Name|_.Description|_.Example| 
 |@dynamic ||| 
 |@osver ||| 
 |@arch ||| 
 |@mediapath ||| 
 |@epel ||| 
 |@yumrepo ||| 
 |@static ||| 

 h3. Preseed attributes: 
 |_.Name|_.Description|_.Example| 
 |@preseed_path ||| 
 |@preseed_server |||