Porting func on gentoo

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

 



Hi people.

Some of you probably remember me on the irc channel at the beginning of august. I'm trying to run func on gentoo linux as part of a future management infrastructure.

I have working ebuilds for func and certmaster (and this is the trivial part). They run and I succesfully set up func on two systems, using one as overlord and one as minion. I've got some questions but please forgive me if I say stupid things, this is also the first time I use func so I never saw it in its "natural environment" (read: fedora).

First of all, the ebuilds. I'd like to refine them a little.
I'd split the overlord and minion setups with a USE flag. I think it is correct to assume that only the overlord has a runtime dependency on certmaster while the minions don't need it. Also, I see that the source contains overlord/ and minion/ directories. Can the overlord/ one be safely removed from a minion setup?

Also, some modules don't work on gentoo (like the service module, needs to be adapted) and some others simply don't make sense (like yum). I'd like to exclude them from the installation: is it simply a matter of removing the given file/directory under modules/ ? I'd also remove modules with extra dependencies based on USE flags (eg. remove nagios stuff if USE=-nagios).

When I'll get a clean installation with just the working modules, the next step would be to patch existing code where needed. Is there any "portability" provision already in the source? (I've git-cloned your repo but I have yet to dig in it)
For example, I think it would be good for func to detect the system type at startup (eg., fedora/gentoo/bsd/solaris/whatever) and store that in a variable, modules would use that info to select correct defaults / behaviors.

Is there someone else trying to do similar stuff? IIRC I read somewhere about someone trying to port/use func on bsd or solaris, but I could be actually thinking about some other oss project.

PS, wiki/PatchProcess talks about a 'devel' branch that doesn't exist [anymore|yet|?]

Thanks,
--
Luca Lesinigo
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux