[Crowbar] Separate, per barclamp locale files

Ralf Haferkamp rhafer at suse.de
Tue Jul 24 04:15:59 CDT 2012


Hi,

is there a specific reason why all the locale additions are merged into 
the single en.yml file during barclamp_install?

Installing and uninstalling barclamps (independed of if that happens via 
a RPM/DEB package of from tarballs) would seem to be quite a bit simpler 
if every barclamp cloud just drop its own locale additions as a separate 
file into a specific directory (e.g. 
/opt/dell/crowbar_framework/config/locale/barclamps/<name>/*.yml). 
Uninstalling would just be a matter of delete that file again. This would 
get as rid of the error prone merge step in barclamp_install.

Merging everything into a single file is especially problematic when 
trying to package barclamps as rpms or debs as upgrading the crowbar-
barclamp will just overwrite all changes to the main en.yml.

BTW, shouldn't the locale additions just be in a separate file in the 
barclamps from the beginnig, instead of having them as a separate section 
in the crowbar.yml?

regards,
	Ralf



More information about the Crowbar mailing list