- I'm not using Storeconfigs, how can I still use Foreman?
- I'm using Storeconfigs, how can I populate various settings in Foreman that are required for hands free (unattended) installations?
- How do I use unattended installations (Kickstart, jumpstart, preseed)?
- How do I use Foreman with Puppet external nodes?
- Where is the DB?!
- What about other operating systems?
I'm not using Storeconfigs, how can I still use Foreman?¶
Foreman does not require puppet storeconfigs, however, Foreman can work with puppet db schema natively as Foreman 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 Foreman 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 Foreman's DB.
How do I use unattended installations (Kickstart, jumpstart, preseed)?¶
How do I use Foreman with Puppet external nodes?¶
see External Nodes
Where is the DB?!¶
By default, Foreman will use sqlite3 as a database, its configuration can be found at
By default, the database can be found at the db subdirectory.
Foreman is a rails application, therefor, anything that is supported under RAILS (sqlite, mysql, postsql, oracle etc) can be used.
What about other operating systems?¶
Foreman 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 Foreman, 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:
It is also required to add vendor options to your dhcp server if you plan to boot from network on the sparc platform.