[Bug 826520] Review Request: hiera - A simple hierarchical database supporting plugin data sources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=826520

--- Comment #18 from Steve Traylen <steve.traylen@xxxxxxx> ---
(In reply to comment #17)
> Well, I agree that the application vs library might be a bit fuzzy. But if
> you take a look on Puppet, non of its files are installed into Ruby's
> %{ruby_vendorlibdir}, while all of hiera's files are installed there. In
> this case, it seems that hiera is more library then application and
> therefore it should have ruby- prefix.

I don't make the same observation? I see puppet and hiera as from a 
packaging point of view identical.

On Fedora 17

Puppet installs as 

/usr/share/ruby/vendor_ruby/puppet.rb
/usr/share/ruby/vendor_ruby/puppet/*

and hiera installs as 

/usr/share/ruby/vendor_ruby/hiera.rb
/usr/share/ruby/vendor_ruby/hiera

on fedora < 17, epel <= 6 it installs in the old location via the following:

%if 0%{?el5}%{?el6}%{?fc16}
%{!?ruby_vendorlibdir: %global ruby_vendorlibdir /usr/lib/ruby/site_ruby/1.8}
%endif

which is exactly what puppet does also: EPEL6 puppet-2.6.17-2.el6.noarch.rpm

/usr/lib/ruby/site_ruby/1.8/puppet.rb
/usr/lib/ruby/site_ruby/1.8/puppet/*

> May be it could be split into two packages? Something like hiera, which
> contains the executable and may be something more and the ruby-hiera, which
> would contain the library part? Not sure if that is not overkill though :)

Indeed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]