Project

General

Profile

Foreman installer » History » Version 3

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

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