Project

General

Profile

Installation instructions » History » Revision 58

Revision 57 (Romain Vrignaud, 11/17/2011 08:58 AM) → Revision 58/77 (Romain Vrignaud, 11/17/2011 09:01 AM)

{{toc}} 

 h1. Requirements for the foreman core component 

 before you start, make sure you have: 

 * Puppet >= 0.24-4 
 * rake >= 0.84  
 * rubygems 
 * ruby-sqlite3 (libsqlite3-ruby) if you are going to use sqlite as your database 
 * git (if installing from source ) 

 The installation has been successfully tested on RHEL[5,6], Fedora[13,14], Debian Linux 5.0 (Lenny) and 6.0 (Squeeze) and Ubuntu Linux 10.04, 10.10, and 11.04. For older operating systems you might need additional packages (e.g. sqlite). 

 It is also known to work on Solaris and Mac. 

 h1. Download 

 h2. Puppet Module ready to use 

 You may try out the puppet Foreman module, this should take care for most of the basic setup. 

 The module could be downloaded via: http://github.com/ohadlevy/puppet-foreman/tarball/master 

 you may use puppet (if you don't want to add it as a module to your puppetmaster) in the following way: 

 if you are using RHEL, EPEL repo must be enabled http://fedoraproject.org/wiki/EPEL 

 If you are using puppet store configs please set $using_store_configs to true in foreman/manifests/init.pp. 
 If you want this module to configure passenger as well, set $using_passenger to true in foreman/manifests/init.pp 

 usage: 

 <pre> 
 echo include foreman | puppet    --verbose --modulepath /path_to/extracted_tarball 
 </pre> 

 *Its recommend to review the module prior usage.* 

 h2. [[Debian-Ubuntu installation by packages]] 


 h2. [[RPM's distribution based installation]] 


 h2. [[Installing latest code ]] 



 h2. [[Initial setup]] 


 

 h1. Smart proxy installation 

 A smart proxy is an autonomous web-based foreman component that is placed on a host performing a specific function in the host commissioning phase.  
 It receives requests from Foreman to perform operations that are required during the commissioning process and executes them on its behalf. More details can be found on the [[Foreman Architecture]] page. 

 To fully manage the commissioning process then a smart proxy will have to manipulate these services, DHCP, DNS, Puppet CA, Puppet and TFTP. These services may exist on separate machines or several of them may be hosted on the same machine. As each smart proxy instance is capable of managing all the of these services, there is only need for one proxy per host. 
 In the special case of a smart proxy managing a windows DHCP server, the host machine must be running Windows and support the *netsh dhcp* utility, it does not need to be the Microsoft DHCP server itself. 

 see also : [[Smart-Proxy Installation]] [[Smart-Proxy:Installation_instructions]] 

 h2. Download 

 Download the smart proxy code from 
 * the git repository  
 * the rpm location 
 * this zip file.  

 When downloaded, extract into a suitable location and follow the README file. 

 h1. Future Updates 

 see [[Upgrade instructions]] 

 h1. Problems? 

 see [[Troubleshooting]]