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

Tollef Fog Heen tfheen at err.no
Wed Jul 9 03:58:30 PDT 2014


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

> On 07/09/2014 08:33 AM, Tollef Fog Heen wrote:
> > ]] "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.
> 
> Yes it is and if you dont see the benefits of knowing the roles of
> your machine or containers and using roles in your infrastructure I
> cannot help you.

I know and use roles in my infrastructure, so that's not my question.
I'm objecting to the use of a predefined list of roles, since that will
not match my infrastructure, and I'm wondering what the use case for a
very restricted list like that is.

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


More information about the systemd-devel mailing list