14 Aug
2012
14 Aug
'12
08:18
On Tue, 14 Aug 2012 10:12:46 +0200 Michal Filka <mfilka@suse.cz> wrote:
So proposal is to have methods read/write that is called from glove, but in config agent implementation will be in methods load/save(or store?). ... do you mean a sort of own API for accessing system?
Michal Filka
I mean that I need layer between gloves and config agent. So you call e.g. Sysconfig.read("/etc/sysconfig/display_manager",:__chroot => "/tmp/chroot") ConfigAgent::Agent have method read, that check for global parameters like __chroot and call inside e.g. Chrooted.run (path) do load(*args) end Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org