[systemd-devel] Extending machine-info to include machine roles

Tollef Fog Heen tfheen at err.no
Wed Jul 9 01:33:45 PDT 2014


]] "Jóhann B. Guðmundsson" 

> If we manage to do that, introduce "rolefulfilment=" in units which we
> would define those standardized predefined set of roles as in for
> httpd.service we might have rolefulfilment=web server, for postgresql,
> rolefulfilment=database server etc.  so you could list/query etc the
> machine primary role and at the same time list the daemon/service who
> fulfills that role

It's not useful to know that a machine is a database server.  It's
useful to know if it's a postgres server or a mysql server or an oracle
server, be it for monitoring or for connecting to it.

> As well as all the other running service role fulfilment on the host
> and maybe introduce ConditionRoleFulfilment= or ConditionRole= if
> valid use cases existed for that etc.
> 
> That's basically how I pictured the role implementation and from my
> point of view if we cant standardized on predefined set of roles there
> is no point in implementing it since we cant properly integrate roles
> with units

Maybe I missed the start of the conversation, but what's the problem
you're trying to solve with this?

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


More information about the systemd-devel mailing list