Project

General

Profile

FAQ » History » Version 30

Romain Vrignaud, 11/17/2011 09:35 AM

1 13 Ohad Levy
{{toc}}
2 1 Ohad Levy
3 12 Ohad Levy
h1. I'm not using Storeconfigs, how can I still use Foreman?
4 1 Ohad Levy
5 17 Ohad Levy
See [[Puppet Facts]]
6 1 Ohad Levy
7 1 Ohad Levy
h1. I'm using Storeconfigs, how can I populate various settings in Foreman that are required for hands free (unattended) installations?
8 1 Ohad Levy
9 17 Ohad Levy
See [[Puppet Facts]]
10 1 Ohad Levy
11 24 Ohad Levy
h1. I don't want to use Foreman for unattended installations can I disable it?
12 22 Ohad Levy
13 22 Ohad Levy
yes, edit config/settings.yaml and add this line:
14 22 Ohad Levy
15 22 Ohad Levy
<pre>
16 22 Ohad Levy
:unattended: false
17 22 Ohad Levy
</pre>
18 22 Ohad Levy
19 1 Ohad Levy
and restart your foreman instance.
20 1 Ohad Levy
21 24 Ohad Levy
This will will not ask you to enter additional information (e.g. mac address etc)
22 24 Ohad Levy
23 23 Ohad Levy
24 30 Romain Vrignaud
h1. How can I migrate from an other External Node Classifier to Foreman ?
25 18 Ohad Levy
26 18 Ohad Levy
see [[External Nodes#Import-your-external-node-setup-from-an-older-external-node-setup]]
27 18 Ohad Levy
28 1 Ohad Levy
h1. Where is the DB?!
29 5 Ohad Levy
30 12 Ohad Levy
By default, Foreman will use sqlite3 as a database, its configuration can be found at 
31 1 Ohad Levy
<pre>config/database.yml</pre>
32 1 Ohad Levy
By default, the  database can be found at the db subdirectory.
33 12 Ohad Levy
Foreman is a rails application, therefor, anything that is supported under RAILS (sqlite, mysql, postsql, oracle etc) can be used.
34 1 Ohad Levy
35 20 Ohad Levy
h1. I want to use MySQL
36 20 Ohad Levy
37 20 Ohad Levy
edit your config/database.yml and modify:
38 20 Ohad Levy
<pre>
39 20 Ohad Levy
production:
40 20 Ohad Levy
  adapter: mysql
41 20 Ohad Levy
  database: puppet
42 20 Ohad Levy
  username: puppet
43 20 Ohad Levy
  password: password
44 20 Ohad Levy
  host: localhost
45 20 Ohad Levy
  socket: "/var/run/mysqld/mysqld.sock"
46 20 Ohad Levy
</pre>
47 20 Ohad Levy
48 27 Ohad Levy
afterwards you would need to re populate your database, simply execute extras/dbmigrate script.
49 27 Ohad Levy
50 20 Ohad Levy
51 5 Ohad Levy
h1. What about other operating systems?
52 1 Ohad Levy
53 12 Ohad Levy
Foreman currently supports RedHat/Fedora, Debian/Ubuntu and Solaris Jumpstart
54 1 Ohad Levy
it has been successfully tested on CentOS 3,4,5 Fedora 10-11, Ubuntu 9.04 and Solaris 8-10 on Sparc.
55 1 Ohad Levy
56 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.
57 1 Ohad Levy
58 1 Ohad Levy
for Jumpstart support, as Solaris doesn't support nativity accessing the profile data dynamically, its required to create some workarounds
59 1 Ohad Levy
example for those are found at the *extras/jumpstart* directory.
60 1 Ohad Levy
You may find the dynamic profile and dynamic finish at the following URL's:
61 12 Ohad Levy
<pre><code>http://Foremanhost:3000/unattended/jumpstart_profile
62 12 Ohad Levy
http://Foremanhost:3000/unattended/jumpstart_finish</code></pre>
63 1 Ohad Levy
64 1 Ohad Levy
It is also required to add vendor options to your dhcp server if you plan to boot from network on the sparc platform.
65 14 Ohad Levy
66 14 Ohad Levy
h1. Will Foreman manage non OpenSource services (e.g. DNS/DHCP etc) ?
67 14 Ohad Levy
68 14 Ohad Levy
Yes! we understand that many enterprises relay on non opensource infrastrucutre as well
69 25 Ohad Levy
Currently it is plan to support MS DNS and -DHCP- services (its actually easier than -ISC DHCP- and BIND).
70 25 Ohad Levy
(done already)
71 14 Ohad Levy
If you have any additional requirements, please enter a feature request.
72 14 Ohad Levy
73 28 James Martin
h1. How do I fix this error: "Unable to find directory $confdir/environments/$environment/modules in environment master" ?
74 28 James Martin
75 28 James Martin
If you've followed http://docs.puppetlabs.com/guides/environment.html#configuring-environments-on-the-puppet-master to 
76 28 James Martin
create a multi-environment puppet configuration, you're initial rake may look something like this:
77 28 James Martin
<pre>
78 28 James Martin
rake puppet:import:puppet_classes RAILS_ENV=production
79 28 James Martin
(in /usr/share/foreman)
80 28 James Martin
Evaluating possible changes to your installation
81 28 James Martin
Problems were detected during the evaluation phase
82 28 James Martin
83 28 James Martin
Unable to find directory $confdir/environments/$environment/modules in environment master
84 28 James Martin
85 28 James Martin
Please fix these issues and try again
86 28 James Martin
</pre>
87 28 James Martin
This is because Foreman does not currently evaluate $confdir.  There is a feature request open on this issue.  In the 
88 28 James Martin
meantime, hard code your $confdir in your puppet.conf.
89 28 James Martin
90 29 Romain Vrignaud
h1. How do I fix the puppet class import problem with multiple puppet environment ?
91 29 Romain Vrignaud
92 29 Romain Vrignaud
If Foreman don't seems to be aware of all your environment and is able to import only your "production" environment (see http://theforeman.org/issues/1159),
93 29 Romain Vrignaud
try to add ":puppetconfdir: /etc/puppet/puppet.conf" in your settings.yaml.
94 29 Romain Vrignaud
95 29 Romain Vrignaud
96 28 James Martin
97 14 Ohad Levy
98 14 Ohad Levy
h1. Whats planned for the next major release?
99 1 Ohad Levy
100 14 Ohad Levy
The next major release of The Foreman will include DNS and DHCP management, this should allow:
101 26 Ohad Levy
* -Subnet management (e.g. install servers in different subnets with no effort)-
102 26 Ohad Levy
* -IP address management, Foreman will suggest you free IP Addresses, and basically allow you to relay on it to manage your IP address assignments.-
103 26 Ohad Levy
Already done
104 14 Ohad Levy
105 14 Ohad Levy
If you want additional features, please open a new feature request!