Project

General

Profile

FAQ » History » Version 11

« Previous - Version 11/68 (diff) - Next » - Current version
Ohad Levy, 09/08/2009 05:36 AM


Frequently Asked Questions

I'm not using Storeconfigs, how can I still use Torque?

Torque does not require puppet storeconfigs, however, Torque can work with puppet db schema natively as Torque extends it.

If you just want to import hosts inventory (facts), you can use the rake task:

RAILS_ENV=production rake puppet:import:hosts_and_facts

This will import your exists facts yaml file (defaults to vardir/yaml/facts), if you wish to import from another directory use:
RAILS_ENV=production rake puppet:import:hosts_and_facts dir=/my/dir/with/yaml/files

NOTE: its probably a good idea to clean up your yaml file directory, as you might have a lot of old data in there.

I'm using Storeconfigs, how can I populate various settings in Torque that are required for hands free (unattended) installations?

RAILS_ENV=production rake puppet:migrate:populate_hosts

This will try to auto-generate all operating systems, puppet environments etc into Torque's DB.

How do I use unattended installations (Kickstart, jumpstart, preseed)?

see Unattended installations

How do I use Torque with Puppet external nodes?

see External Nodes

Where is the DB?!

By default, Torque will use sqlite3 as a database, its configuration can be found at

config/database.yml

By default, the database can be found at the db subdirectory.
Torque is a rails application, therefor, anything that is supported under RAILS (sqlite, mysql, postsql, oracle etc) can be used.

What about other operating systems?

Torque currently supports RedHat/Fedora, Debian/Ubuntu and Solaris Jumpstart
it has been successfully tested on CentOS 3,4,5 Fedora 10-11, Ubuntu 9.04 and Solaris 8-10 on Sparc.

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.

for Jumpstart support, as Solaris doesn't support nativity accessing the profile data dynamically, its required to create some workarounds
example for those are found at the extras/jumpstart directory.
You may find the dynamic profile and dynamic finish at the following URL's:

http://Torquehost:3000/unattended/jumpstart_profile
http://Torquehost:3000/unattended/jumpstart_finish

It is also required to add vendor options to your dhcp server if you plan to boot from network on the sparc platform.