Project

General

Profile

Foreman installer » History » Version 6

Ohad Levy, 12/28/2011 08:32 AM

1 4 Ohad Levy
{{toc}}
2
3 3 Ohad Levy
h1. Puppet modules for managing Foreman
4 1 Romain Vrignaud
5 5 Ohad Levy
The installer can be used in multiple ways:
6
* Installs Foreman as a standalone application or using apache passenger.
7
* Installs Foreman Proxy
8
* May install an example puppet master setup using passenger as well, including the tweaks required for foreman.
9 1 Romain Vrignaud
10 6 Ohad Levy
download the installer from http://github.com/ohadlevy/puppet-foreman/tarball/master
11 1 Romain Vrignaud
12 3 Ohad Levy
h2. Requirements
13 1 Romain Vrignaud
14 6 Ohad Levy
if you are using RHEL, EPEL repo must be enabled http://fedoraproject.org/wiki/EPEL
15 1 Romain Vrignaud
16 3 Ohad Levy
if you are using Debian (or Ubuntu), see the additional notes in README.debian
17 1 Romain Vrignaud
18 4 Ohad Levy
h2. Setup/Configuration
19 3 Ohad Levy
20 1 Romain Vrignaud
*Please review the variables under */manifests/params.pp*
21 4 Ohad Levy
22
h2. Installation
23 3 Ohad Levy
24
h3. Foreman only
25
26 1 Romain Vrignaud
<pre>
27 3 Ohad Levy
echo include foreman | puppet --modulepath /path_to/extracted_tarball
28 1 Romain Vrignaud
</pre>
29
30 3 Ohad Levy
h3. Foreman and its Proxy on the same host
31
32
<pre>
33
echo include foreman, foreman_proxy | puppet --modulepath /path_to/extracted_tarball
34
</pre>
35
36
if you just want to include the relavant bits to run on your puppet master you may
37
<pre>
38
include foreman::params, foreman::config::enc, foreman::config::reports
39
</pre>
40
41
h3. install it all on one box (PuppetMaster, Foreman and the proxy)
42
43
<pre>
44
export MODULE_PATH="/etc/puppet/modules/common"
45
mkdir -p $MODULE_PATH
46
wget http://github.com/ohadlevy/puppet-foreman/tarball/master -O - |tar xzvf - -C $MODULE_PATH --strip-components=1
47
echo include puppet, puppet::server, foreman, foreman_proxy | puppet --modulepath $MODULE_PATH
48
</pre>