FAQ

Version 12 (Ohad Levy, 09/09/2009 01:27 pm)

1 12 Ohad Levy
{{>toc}}
2 1
3 12 Ohad Levy
h1. I'm not using Storeconfigs, how can I still use Foreman?
4 1
5 12 Ohad Levy
Foreman does not require puppet storeconfigs, however, Foreman can work with puppet db schema natively as Foreman extends it.
6 1
7 1
If you just want to import hosts inventory (facts), you can use the rake task:
8 1
<pre>RAILS_ENV=production rake puppet:import:hosts_and_facts</pre>
9 1
This will import your exists facts yaml file (defaults to vardir/yaml/facts), if you wish to import from another directory use:
10 1
<pre>RAILS_ENV=production rake puppet:import:hosts_and_facts dir=/my/dir/with/yaml/files</pre>
11 1
12 1
*NOTE:* its probably a good idea to clean up your yaml file directory, as you might have a lot of old data in there.
13 1
14 12 Ohad Levy
h1. I'm using Storeconfigs, how can I populate various settings in Foreman that are required for hands free (unattended) installations?
15 1
16 1
<pre>RAILS_ENV=production rake puppet:migrate:populate_hosts</pre>
17 12 Ohad Levy
This will try to auto-generate all operating systems,  puppet environments etc into Foreman's DB.
18 1
19 5 Ohad Levy
h1. How do I use unattended installations (Kickstart, jumpstart, preseed)?
20 1
21 1
see [[Unattended installations]]
22 10 Ohad Levy
23 12 Ohad Levy
h1. How do I use Foreman with Puppet external nodes?
24 5 Ohad Levy
25 1
see [[External Nodes]]
26 8 Ohad Levy
27 1
h1. Where is the DB?!
28 5 Ohad Levy
29 12 Ohad Levy
By default, Foreman will use sqlite3 as a database, its configuration can be found at 
30 1
<pre>config/database.yml</pre>
31 1
By default, the  database can be found at the db subdirectory.
32 12 Ohad Levy
Foreman is a rails application, therefor, anything that is supported under RAILS (sqlite, mysql, postsql, oracle etc) can be used.
33 1
34 5 Ohad Levy
h1. What about other operating systems?
35 1
36 12 Ohad Levy
Foreman currently supports RedHat/Fedora, Debian/Ubuntu and Solaris Jumpstart
37 1
it has been successfully tested on CentOS 3,4,5 Fedora 10-11, Ubuntu 9.04 and Solaris 8-10 on Sparc.
38 1
39 12 Ohad Levy
If you have any other operating system you would like to see added to Foreman, please contact us and we would be happy to add it.
40 1
41 1
for Jumpstart support, as Solaris doesn't support nativity accessing the profile data dynamically, its required to create some workarounds
42 1
example for those are found at the *extras/jumpstart* directory.
43 1
You may find the dynamic profile and dynamic finish at the following URL's:
44 12 Ohad Levy
<pre><code>http://Foremanhost:3000/unattended/jumpstart_profile
45 12 Ohad Levy
http://Foremanhost:3000/unattended/jumpstart_finish</code></pre>
46 1
47 1
It is also required to add vendor options to your dhcp server if you plan to boot from network on the sparc platform.