Project

General

Profile

Foreman installer » History » Version 4

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

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