How to install a foreman plugin in CentOS without gem or rpm package?

Hi, I have read the manual and other discussions but I haven't found a
solution to how to install a foreman plugin that is not available from "scl
enable ruby193 gem install …"

The plugin I'm referring is https://github.com/ShimShtein/foreman-opensearch
I saw the demo in foreman comunity demo the other day but i haven't found a
way to install it from the git repo because my foreman version is rpm based
and bundler update doesn't work.

Is there any way to accomplish this?

Thanks,
Ale.

Hi Alex

Download the repo just go to the repo directory

run gem install foreman-opensearch.gempec
<https://github.com/ShimShtein/foreman-opensearch>

After that restart foreman service

service foreman restart

If you hit problems, uninstall the added gems with

gem uninstall -v VERSION GEM

··· On Saturday, October 10, 2015 at 12:28:03 PM UTC+11, Alejandro Falcon wrote: > > Hi, I have read the manual and other discussions but I haven't found a > solution to how to install a foreman plugin that is not available from "scl > enable ruby193 gem install ..." > > The plugin I'm referring is > https://github.com/ShimShtein/foreman-opensearch > I saw the demo in foreman comunity demo the other day but i haven't found > a way to install it from the git repo because my foreman version is rpm > based and bundler update doesn't work. > > Is there any way to accomplish this? > > Thanks, > Ale. >

Hello,
First thanks for the quick adoption! I am really glad that you like the
feature.
Right now I am working on packaging my code as a gem, as soon as I finish I
promise to update you.

Thanks,
Shim.

··· On Saturday, October 10, 2015 at 4:28:03 AM UTC+3, Alejandro Falcon wrote: > > Hi, I have read the manual and other discussions but I haven't found a > solution to how to install a foreman plugin that is not available from "scl > enable ruby193 gem install ..." > > The plugin I'm referring is > https://github.com/ShimShtein/foreman-opensearch > I saw the demo in foreman comunity demo the other day but i haven't found > a way to install it from the git repo because my foreman version is rpm > based and bundler update doesn't work. > > Is there any way to accomplish this? > > Thanks, > Ale. >

As promised, I have released this plugin as a gem.

Please refer to Foreman manual on how to install a plugin as a gem. You can
find the how-to here
<Foreman :: Plugin Manuals>.
It will take some time to get the plugin into official RPM/DEB repositories
though.

And here is a direct link to the gem on rubygems
<https://rubygems.org/gems/foreman_opensearch>.

If you encounter anything strange with it, feel free to contact me on IRC
or here.

Thanks,
Shim.

··· On Saturday, October 10, 2015 at 4:28:03 AM UTC+3, Alejandro Falcon wrote: > > Hi, I have read the manual and other discussions but I haven't found a > solution to how to install a foreman plugin that is not available from "scl > enable ruby193 gem install ..." > > The plugin I'm referring is > https://github.com/ShimShtein/foreman-opensearch > I saw the demo in foreman comunity demo the other day but i haven't found > a way to install it from the git repo because my foreman version is rpm > based and bundler update doesn't work. > > Is there any way to accomplish this? > > Thanks, > Ale. >