FAQ

Version 11 (Ohad Levy, 09/08/2009 05:36 am)

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