Project

General

Profile

How to Install a Smart-Proxy Plugin » History » Version 1

Anonymous, 07/23/2014 11:51 AM

1 1 Anonymous
h1. How to Install a Smart-Proxy Plugin
2
3
Smart-Proxy plugins are ruby gems. Below are recommended methods for installation.
4
5
h2. RPM Installations
6
7
Some plugins are available from Foreman repositories packaged as rpms. The repos are available at [[yum.theforeman.org/plugins]]. Separate repos are available for each Foreman release, containing plugins that are compatible with that particular version. Packages are not currently GPG signed.
8
9
Configure the repo by creating /etc/yum.repos.d/foreman_plugins.repo:
10
11
<pre>
12
[foreman-plugins]
13
name=Foreman plugins
14
baseurl=http://yum.theforeman.org/plugins/nightly/el6/x86_64/
15
enabled=1
16
gpgcheck=0
17
</pre>
18
19
Find the package for the plugin:
20
<pre>yum search rubygem-smart-proxy</pre>
21
22
Install the package, e.g.
23
<pre>yum install rubygem-smart_proxy_pulp</pre>
24
25
Restart Smart-Proxy with <pre>service foreman-proxy restart</pre>
26
Some plugins may require configuration in /etc/foreman-proxy/settings.d/, check for any .example files.