Hi Greg,

That helps heaps!

I'm curious as to why the "production" 1.12 machine which uses a remote
puppet CA, puppet Compile Master and DB didn't already have a dependency on
"deface". I guess maybe the foreman_setup plugin doesn't use it.

Anyway, I'm now furiously trying to learn ruby so I can understand the
example plugin and the "column_view" plugin you referenced.

Many, many thanks,

Doug


On 22 November 2016 at 07:13, Greg Sutcliffe <greg.sutcli...@gmail.com>
wrote:

> Glad you got it working! For reference, here's a few things to know ;)
>
> 1) It's generally not recommended to do development stuff on a production
> server, since (as you've found out) it's remarkably tricky to get the SCL
> dependencies right. As you've seen, it can be done, but it's probably
> better making a proper RPM out of it. You can use our spec files as a base
> - here's an example for another deface-using plugin:
>
> https://github.com/theforeman/foreman-packaging/blob/rpm/1.
> 13/rubygem-foreman_column_view/rubygem-foreman_column_view.spec
>
> 2) Deface is indeed needed by many plugins - but we provide each gem
> dependency as a separate package. You can find deface here:
>
> http://yum.theforeman.org/plugins/latest/el7/x86_64/tfm-
> rubygem-deface-1.0.2-3.el7.noarch.rpm
>
> This would obviously be an RPM dependency of the package created by (1).
>
> Indirectly, this is why the gems are installed with --ignore-dependencies,
> since it's intended that production systems get their plugins from yum/dnf
> and as such, they can all depend on the deface rubygem package.
>
> Hope that helps!
> Greg
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Foreman users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/foreman-users/idtLy5U0jyI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

The big print giveth and the small print taketh away.

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to